On Tue, Mar 28, 2017 at 10:00 AM, Andrey Konovalov
[off-list 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