# Re: \[PATCH 0/5\] net/packet: fix multiple overflow issues in ring buffers

- From: Willem de Bruijn \<willemdebruijn.kernel@gmail.com\>
- Date: 2017-03-28 15:07:14 
- List: netdev
- Page: https://ratatoskr.run/netdev/2017/03/11048820
- Thread: https://ratatoskr.run/netdev/2017/03/11048804/t.md

```text
On Tue, Mar 28, 2017 at 10:00 AM, Andrey Konovalov
[ref] wrote:
> This patchset addresses multiple overflows and signedness-related issues
> in packet socket ring buffers.
>
> Andrey Konovalov (5):
>   net/packet: fix overflow in check for priv area size
>   net/packet: add explicit checks for tp_frame_size
>   net/packet: fix overflow in check for tp_frame_nr
>   net/packet: fix overflow in check for tp_reserve
>   net/packet: reorder checks for ring buffer parameters

These are a lot of changes to backport to stable kernels.

Can we separate the minimal patch set needed to address known overflow
to send to net (with annotation [PATCH net]) and follow up with the larger
cleanup to net-next.

>
>  net/packet/af_packet.c | 31 +++++++++++++++++++++----------
>  1 file changed, 21 insertions(+), 10 deletions(-)
>
> --
> 2.12.2.564.g063fe858b8-goog
>
```
