Re: [PATCH] packet: Don't write vnet header beyond end of buffer

From: David Miller
Date: Tue Aug 29 2017 - 18:10:29 EST


From: Benjamin Poirier <bpoirier@xxxxxxxx>
Date: Mon, 28 Aug 2017 14:29:41 -0400

> ... which may happen with certain values of tp_reserve and maclen.
>
> Fixes: 58d19b19cd99 ("packet: vnet_hdr support for tpacket_rcv")
> Signed-off-by: Benjamin Poirier <bpoirier@xxxxxxxx>
> Cc: Willem de Bruijn <willemb@xxxxxxxxxx>

Applied and queued up for -stable.