diff options
author | 2023-03-22 22:43:24 -0700 | |
---|---|---|
committer | 2023-03-22 22:43:24 -0700 | |
commit | cad052e64ae1d1bc9cf0f786c3457e257abe492f (patch) | |
tree | 5e5af819a66beb894bd06b0284523408ce320189 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'remove-phylink_state-s-an_enabled-member' (diff) | |
parent | net/sched: remove two skb_mac_header() uses (diff) | |
download | wireguard-linux-cad052e64ae1d1bc9cf0f786c3457e257abe492f.tar.xz wireguard-linux-cad052e64ae1d1bc9cf0f786c3457e257abe492f.zip |
Merge branch 'net-remove-some-skb_mac_header-assumptions'
Eric Dumazet says:
====================
net: remove some skb_mac_header assumptions
Historically, we tried o maintain skb_mac_header available in most of
networking paths.
When reaching ndo_start_xmit() handlers, skb_mac_header() should always
be skb->data.
With recent additions of skb_mac_header_was_set() and
DEBUG_NET_WARN_ON_ONCE() in skb_mac_header(), we can attempt
to remove our reliance on skb_mac_header in TX paths.
When this effort completes we will remove skb_reset_mac_header()
from __dev_queue_xmit() and replace it by
skb_unset_mac_header() on DEBUG_NET builds.
====================
Link: https://lore.kernel.org/r/20230321164519.1286357-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions