[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170207205721.23207-1-willemdebruijn.kernel@gmail.com>
Date: Tue, 7 Feb 2017 15:57:19 -0500
From: Willem de Bruijn <willemdebruijn.kernel@...il.com>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, eric.dumazet@...il.com,
sowmini.varadhan@...cle.com, dvyukov@...gle.com,
Willem de Bruijn <willemb@...gle.com>
Subject: [PATCH net 0/2] Fixes for header length truncation
From: Willem de Bruijn <willemb@...gle.com>
Packets should not enter the stack with truncated link layer headers
and link layer headers should always be stored in the skb linear
segment.
Patch 1 ensures the first for PF_PACKET sockets
Patch 2 ensures the second for PF_PACKET GSO sockets without tx_ring
Willem de Bruijn (2):
net: introduce device min_header_len
packet: round up linear to header len
drivers/net/loopback.c | 1 +
include/linux/netdevice.h | 4 ++++
net/ethernet/eth.c | 1 +
net/packet/af_packet.c | 7 ++++---
4 files changed, 10 insertions(+), 3 deletions(-)
--
2.11.0.483.g087da7b7c-goog
Powered by blists - more mailing lists