Skip to content
Commit 3604c391 authored by Jukka Rissanen's avatar Jukka Rissanen
Browse files

net: udp: Remove NET_UDP_HDR() macro and direct access to net_buf



Remove NET_UDP_HDR() macro as we cannot safely access UDP header
via it if the network packet header spans over multiple net_buf
fragments.

Fixed also the UDP unit tests so that they pass correctly.

Signed-off-by: default avatarJukka Rissanen <jukka.rissanen@linux.intel.com>
parent 8476da9d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment