Skip to content

PF_PACKET updates

Daniel Borkmann netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3packet: fix send path when running with proto == 0Documentation/networking/packet_mmap.txt net/packet/af_packet.c+50 -250 replies
2/3net: dev: move inline skb_needs_linearize helper to headerinclude/linux/skbuff.h net/core/dev.c+18 -150 replies
3/3packet: introduce PACKET_QDISC_BYPASS socket optionDocumentation/networking/packet_mmap.txt include/uapi/linux/if_packet.h net/packet/af_packet.c +1 more+102 -120 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchSalam NoureddineJesper Dangaard Brouer
1/3T-b T-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/3] PF_PACKET updates

Patch descriptions in individual patches.

In order to avoid a possible merge conflict, we suggest to take the first patch through net tree, merge net into net-next and apply the remaining two patches on top of it. Dave, please let us know if you like to handle this differently than suggested.

For patch 3 we'll send a man-page update as a follow-up.

Thanks !

Daniel Borkmann (3):
packet: fix send path when running with proto == 0
net: dev: move inline skb_needs_linearize helper to header
packet: introduce PACKET_QDISC_BYPASS socket option

 Documentation/networking/packet_mmap.txt |  31 ++++++
 include/linux/skbuff.h                   |  18 ++++
 include/uapi/linux/if_packet.h           |   1 +
 net/core/dev.c                           |  15 ---
 net/packet/af_packet.c                   | 156 +++++++++++++++++++++++--------
 net/packet/internal.h                    |   1 +
 6 files changed, 170 insertions(+), 52 deletions(-)
Signature · 1 line
1.8.3.1