Skip to content

validate variable length ll headers

Willem de Bruijn netdev 1 version In review

Get series with b4
b4 am 1457578714-36125-1-git-send-email-willemdebruijn.kernel@gmail.com

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: validate variable length ll headersinclude/linux/netdevice.h+20 -20 replies
2/3ax25: add link layer header validation functionnet/ax25/ax25_ip.c+15 -00 replies
3/3packet: validate variable length ll headersnet/packet/af_packet.c+18 -250 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/3] validate variable length ll headers

From: Willem de Bruijn <[email protected]>

Allow device-specific validation of link layer headers. Existing checks drop all packets shorter than hard_header_len. For variable length protocols, such packets can be valid.

patch 1 adds header_ops.validate and dev_validate_header patch 2 implements the protocol specific callback for AX25 patch 3 replaces ll_header_truncated with dev_validate_header

Willem de Bruijn (3):
net: validate variable length ll headers
ax25: add link layer header validation function
packet: validate variable length ll headers

 include/linux/netdevice.h | 22 ++++++++++++++++++++--
 net/ax25/ax25_ip.c        | 15 +++++++++++++++
 net/packet/af_packet.c    | 43 ++++++++++++++++++-------------------------
 3 files changed, 53 insertions(+), 27 deletions(-)
Signature · 1 line
2.7.0.rc3.207.g0ac5344