Skip to content

net: af_packet: be careful when expanding mac header size

Eric Dumazet netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyApplied 3/3
  2. v12 patches 4 repliesSuperseded

Patches in v2 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net: CONFIG_DEBUG_NET depends on CONFIG_NETnet/Kconfig.debug+1 -10 repliesApplied
2/3net: add debug info to __skb_pull()include/linux/skbuff.h+8 -10 repliesApplied
3/3net/af_packet: make sure to pull mac headernet/packet/af_packet.c+4 -21 replyApplied

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchHangbin LiuWillem de BruijnMichael S. Tsirkin
1/3
2/3A-b
3/3A-b A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

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

From: Eric Dumazet <[email protected]>

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(-)
Signature · 1 line
2.36.1.255.ge46751e96f-goog