Subject: Re: [PATCH net-next v2] packet: make packet_snd fail on len smaller than l2 header

From: Daniel Borkmann <[email-masked]>
Date: Wed, 19 Nov 2014 19:31:40 +0100

On 11/19/2014 07:10 PM, Willem de Bruijn wrote:
> From: Willem de Bruijn <[email-masked]>
>
> 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 <[email-masked]>

Looks good to me, thanks!

Acked-by: Daniel Borkmann <[email-masked]>