Skip to content
Commit 7ba6736a authored by Johann Fischer's avatar Johann Fischer Committed by Jukka Rissanen
Browse files

net: ipv6: set pkt properties prior to routing



pkt properties should be set prior to routing.
If packet routing is turned on and the packet is
forwarded to an interface, the pkt properties like
ipv6_ext_len or ip_hdr_len will not be initialized.
If a UDP packet is forwarded to an 6lo interface,
it leads to incorrect calculation of UDP header
during UDP header compression (net_udp_get_hdr).

Fixes #10204

Signed-off-by: default avatarJohann Fischer <j.fischer@phytec.de>
parent ab676394
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment