All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 net 0/3] net: af_packet: be careful when expanding mac header size
@ 2022-06-02 16:18 Eric Dumazet
  2022-06-02 16:18 ` [PATCH v2 net 1/3] net: CONFIG_DEBUG_NET depends on CONFIG_NET Eric Dumazet
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Eric Dumazet @ 2022-06-02 16:18 UTC (permalink / raw)
  To: David S . Miller, Jakub Kicinski, Paolo Abeni
  Cc: netdev, Willem de Bruijn, Eric Dumazet, Eric Dumazet

From: Eric Dumazet <edumazet@google.com>

A recent regression in af_packet needed a preliminary debug patch,
which will presumably be useful for next bugs hunting.

The af_packet fix is to make sure MAC headers are contained in
skb linear part, as GSO stack requests.

v2: CONFIG_DEBUG_NET depends on CONFIG_NET to avoid compile
   errors found by kernel bots.

Eric Dumazet (3):
  net: CONFIG_DEBUG_NET depends on CONFIG_NET
  net: add debug info to __skb_pull()
  net/af_packet: make sure to pull mac header

 include/linux/skbuff.h | 9 ++++++++-
 net/Kconfig.debug      | 2 +-
 net/packet/af_packet.c | 6 ++++--
 3 files changed, 13 insertions(+), 4 deletions(-)

-- 
2.36.1.255.ge46751e96f-goog


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-06-02 19:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-02 16:18 [PATCH v2 net 0/3] net: af_packet: be careful when expanding mac header size Eric Dumazet
2022-06-02 16:18 ` [PATCH v2 net 1/3] net: CONFIG_DEBUG_NET depends on CONFIG_NET Eric Dumazet
2022-06-02 16:18 ` [PATCH v2 net 2/3] net: add debug info to __skb_pull() Eric Dumazet
2022-06-02 16:18 ` [PATCH v2 net 3/3] net/af_packet: make sure to pull mac header Eric Dumazet
2022-06-02 19:49   ` Michael S. Tsirkin
2022-06-02 18:20 ` [PATCH v2 net 0/3] net: af_packet: be careful when expanding mac header size patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.