diff options
| author | Eric Dumazet <edumazet@google.com> | 2024-02-29 12:39:08 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2024-03-04 11:47:06 +0300 |
| commit | cc15bd10e716fcb472d611f24d76c795acb0f8c7 (patch) | |
| tree | ee624de454e831304d471110cf6f8aef0d3b0fb7 /include/uapi/linux/mqueue.h | |
| parent | 80bfab79b8351c8d858e6928a091b57c103dce29 (diff) | |
| download | linux-cc15bd10e716fcb472d611f24d76c795acb0f8c7.tar.xz | |
net: adopt skb_network_header_len() more broadly
(skb_transport_header(skb) - skb_network_header(skb))
can be replaced by skb_network_header_len(skb)
Add a DEBUG_NET_WARN_ON_ONCE() in skb_network_header_len()
to catch cases were the transport_header was not set.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/mqueue.h')
0 files changed, 0 insertions, 0 deletions
