Files
linux-stable-mirror/include/linux
Eric Dumazet f9aefd6b2a net: warn if mac header was not set
Make sure skb_mac_header(), skb_mac_offset() and skb_mac_header_len() uses
are not fooled if the mac header has not been set.

These checks are enabled if CONFIG_DEBUG_NET=y

This commit will likely expose existing bugs in linux networking stacks.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20220620093017.3366713-1-eric.dumazet@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2022-06-21 11:21:57 +02:00
..
2022-06-08 14:04:14 -04:00
2022-06-07 10:20:42 -07:00
2022-06-16 19:27:29 -07:00
2022-06-03 06:52:57 -07:00
2022-06-09 21:53:09 -07:00
2022-06-09 21:53:12 -07:00
2022-06-09 21:53:09 -07:00
2022-06-06 09:52:17 +09:00
2022-06-19 10:38:26 +01:00
2022-06-10 11:29:48 +02:00
2022-06-21 11:21:57 +02:00
2022-06-13 13:47:15 +01:00
2022-05-31 12:45:10 -04:00
2022-06-13 09:54:52 -07:00