validate variable length ll headers
Get series with b4
b4 am 1457124257-31486-1-git-send-email-willemdebruijn.kernel@gmail.comVersions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | net: validate variable length ll headersinclude/ | +20 | 1 reply | |
| 2/3 | packet: validate variable length ll headersnet/ | +17 | 1 reply | |
| 3/3 | ax25: add link layer header validation functionnet/ | +15 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net 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 replaces ll_header_truncated with dev_validate_header patch 3 implements the protocol specific callback for AX25
Tested with a temporary eth_header_validate function. The AX25 code is compile-tested only at this point.
Willem de Bruijn (3):
net: validate variable length ll headers
packet: validate variable length ll headers
ax25: add link layer header validation function
include/linux/netdevice.h | 22 ++++++++++++++++++++-- net/ax25/ax25_ip.c | 15 +++++++++++++++ net/packet/af_packet.c | 38 +++++++++++++++++--------------------- 3 files changed, 52 insertions(+), 23 deletions(-)
Signature · 1 line
2.7.0.rc3.207.g0ac5344