zephyr/modules
Robert Lubos 387a66131e net: pkt: Introduce minimum length requirement to net_pkt_get_frag()
net_pkt_get_frag() and a few other functions did not specify the
allocated fragment length, incorrectly assuming that fixed-sized
buffers are always used.

In order to make the function work properly also with variable-sized
buffers, extend the function argument list with minimum expected
fragment length parameter. This allows to use net_buf_alloc_len()
allocator in variable buffer length configuration, as well as verify if
the fixed-sized buffer is large enough to satisfy the requirements
otherwise.

Update the existing codebase to provide the expected fragment length,
based on the context.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2022-11-19 07:39:32 -05:00
..
canopennode treewide: Use CONFIG_*_ENDIAN instead of __BYTE_ORDER__ 2022-10-28 19:23:46 +09:00
hal_ethos_u modules: add an Arm Ethos-U HAL module 2022-11-15 14:47:43 +01:00
hal_gigadevice modules: Add option for enabling HAL debug functions 2022-10-03 18:07:16 +02:00
hal_infineon modules: hal_infineon: fix CMake Warning when build non Infineon device 2022-05-16 10:17:29 +02:00
hal_nordic modules: hal_nordic: nrfx: switch to 2.10 API 2022-11-08 10:48:38 +01:00
hal_nxp hal: nxp: Check Kconfig before including HAL 2022-11-01 21:41:55 -05:00
hal_rpi_pico modules: hal_rpi_pico: Enable ADC driver 2022-09-06 17:11:19 +02:00
liblc3 modules: liblc3: Rename the module for consistency 2022-08-22 20:40:59 +02:00
littlefs treewide: Use CONFIG_*_ENDIAN instead of __BYTE_ORDER__ 2022-10-28 19:23:46 +09:00
loramac-node modules: loramac-node: fix CN470 linking 2022-09-26 09:38:49 +00:00
lz4
mbedtls modules: mbedtls: Replace select statement with depends on for EC 2022-10-07 15:12:42 +02:00
nanopb
openthread net: pkt: Introduce minimum length requirement to net_pkt_get_frag() 2022-11-19 07:39:32 -05:00
segger segger: Resolve circular include dependencies 2022-08-02 13:09:21 +02:00
tflite-micro modules: add an Arm Ethos-U HAL module 2022-11-15 14:47:43 +01:00
TraceRecorder
trusted-firmware-a modules: tfa: integrate trusted-firmware-a 2022-09-09 16:36:37 +00:00
trusted-firmware-m tfm: Add option to enable the SFN model 2022-10-03 10:17:45 +02:00
uoscore-uedhoc modules: Add uoscore-uedhoc repository 2022-08-12 16:17:59 +02:00
zcbor modules: zcbor: Fix ZCBOR_ASSERT kconfig typo 2022-09-08 15:30:47 +00:00
Kconfig soc: arm: introduce NXP S32Z/E support 2022-10-14 09:51:14 +02:00
Kconfig.altera
Kconfig.atmel
Kconfig.cmsis modules: cmsis_nn: Move Kconfig prompt out of CMSIS-DSP menu 2022-05-04 18:57:41 -04:00
Kconfig.cmsis_dsp modules: cmsis_dsp: Fix missing common tables dependency for SVM 2022-05-05 11:58:11 +09:00
Kconfig.cmsis_nn
Kconfig.cypress
Kconfig.eos_s3
Kconfig.esp32 soc: xtensa: esp32_net: update kconfig 2022-08-16 18:06:02 +02:00
Kconfig.imx drivers: pinctrl: refactor pin control support for imx rt 2022-05-12 16:57:17 -05:00
Kconfig.infineon drivers: flash: Add xmc4xxx flash drivers 2022-10-03 13:56:49 +02:00
Kconfig.libmetal
Kconfig.lvgl manifest: Update lvgl 2022-08-12 17:54:03 -05:00
Kconfig.mcuboot_bootutil
Kconfig.mcux nxp_imx: rt: add XBARA Inter-Peripheral Crossbar Switch Kconfig option 2022-07-01 16:23:11 +00:00
Kconfig.microchip modules: Add entry for Microchip mpfs hal 2022-05-06 11:32:54 +02:00
Kconfig.nuvoton
Kconfig.open-amp
Kconfig.s32 soc: arm: introduce NXP S32Z/E support 2022-10-14 09:51:14 +02:00
Kconfig.silabs
Kconfig.simplelink
Kconfig.sof
Kconfig.st
Kconfig.stm32 module: Kconfig stm32 includes the DELAYBLOCK (DLYB) 2022-05-12 14:56:25 -05:00
Kconfig.syst
Kconfig.telink
Kconfig.tinycbor
Kconfig.tinycrypt
Kconfig.vega
Kconfig.wurthelektronik modules: Added hal_wurthelektronik module. 2022-08-31 21:47:58 +00:00
Kconfig.xtensa
modules.cmake