summaryrefslogtreecommitdiffstats
path: root/crypto/asymmetric_keys
diff options
context:
space:
mode:
authorKal Conley <kal.conley@dectris.com>2019-02-10 09:57:11 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-02-27 10:08:06 +0100
commit2226f9592422c320e37585825a4f7b8bfb8c8504 (patch)
tree3033d75891f026473a77e810c6834ff98f9f98cd /crypto/asymmetric_keys
parent7c3969ff8bd40272dfbbc00dd16bf87547c818c8 (diff)
downloadlinux-stable-2226f9592422c320e37585825a4f7b8bfb8c8504.tar.gz
linux-stable-2226f9592422c320e37585825a4f7b8bfb8c8504.tar.bz2
linux-stable-2226f9592422c320e37585825a4f7b8bfb8c8504.zip
net/packet: fix 4gb buffer limit due to overflow check
[ Upstream commit fc62814d690cf62189854464f4bd07457d5e9e50 ] When calculating rb->frames_per_block * req->tp_block_nr the result can overflow. Check it for overflow without limiting the total buffer size to UINT_MAX. This change fixes support for packet ring buffers >= UINT_MAX. Fixes: 8f8d28e4d6d8 ("net/packet: fix overflow in check for tp_frame_nr") Signed-off-by: Kal Conley <kal.conley@dectris.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/asymmetric_keys')
0 files changed, 0 insertions, 0 deletions