zephyr/net
Paul Sokolovsky dbb9094b8a net: Set uIP context on newly allocated buffers immediately.
This context must be set for TX buffers, and there's no better place to
set it than at the allocation time. If not set, it may end up NULL,
causing adverse effects (one seen by few parties is dereferencing random
memory locations to get (random again) MSS values). For RX buffers, uIP
context is set elsewhere too, but anyway, common sense says that if a
buffer is allocated for network context X, and that context uses uIP
connection Y, the a buffer should be just cross-linked with Y during
allocation time, not somewhere later.

Change-Id: Icdb3cd724802ca263c1cd0e3909be811e53822ba
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2016-09-22 12:00:24 +00:00
..
bluetooth Bluetooth: HCI: Fix updating RPA too early 2016-09-15 14:36:09 +00:00
ip net: Set uIP context on newly allocated buffers immediately. 2016-09-22 12:00:24 +00:00
Kconfig net: buf: Fix net buf debug 2016-02-05 20:24:47 -05:00
Makefile net/yaip: revert merge 2016-07-22 04:43:09 +00:00
buf.c net/buf: Add missing line break in debug statement 2016-09-08 11:29:29 +00:00