[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20141121.144354.321574305151092990.davem@davemloft.net>
Date: Fri, 21 Nov 2014 14:43:54 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: willemb@...gle.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com, dborkman@...hat.com
Subject: Re: [PATCH net-next v2] packet: make packet_snd fail on len
smaller than l2 header
From: Willem de Bruijn <willemb@...gle.com>
Date: Wed, 19 Nov 2014 13:10:16 -0500
> From: Willem de Bruijn <willemb@...gle.com>
>
> When sending packets out with PF_PACKET, SOCK_RAW, ensure that the
> packet is at least as long as the device's expected link layer header.
> This check already exists in tpacket_snd, but not in packet_snd.
> Also rate limit the warning in tpacket_snd.
>
> Signed-off-by: Willem de Bruijn <willemb@...gle.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists