mbox series

[v2,net,0/3] net: af_packet: be careful when expanding mac header size

Message ID 20220602161859.2546399-1-eric.dumazet@gmail.com (mailing list archive)
Headers show
Series net: af_packet: be careful when expanding mac header size | expand

Message

Eric Dumazet June 2, 2022, 4:18 p.m. UTC
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(-)

Comments

patchwork-bot+netdevbpf@kernel.org June 2, 2022, 6:20 p.m. UTC | #1
Hello:

This series was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Thu,  2 Jun 2022 09:18:56 -0700 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [v2,net,1/3] net: CONFIG_DEBUG_NET depends on CONFIG_NET
    https://git.kernel.org/netdev/net/c/eb0b39efb7d9
  - [v2,net,2/3] net: add debug info to __skb_pull()
    https://git.kernel.org/netdev/net/c/22296a5c0cd3
  - [v2,net,3/3] net/af_packet: make sure to pull mac header
    https://git.kernel.org/netdev/net/c/e9d3f80935b6

You are awesome, thank you!