Files
linux-st/include/linux
Jason Wang 54e02162d4 ptr_ring: prevent integer overflow when calculating size
Switch to use dividing to prevent integer overflow when size is too
big to calculate allocation size properly.

Reported-by: Eric Biggers <ebiggers3@gmail.com>
Fixes: 6e6e41c311 ("ptr_ring: fail early if queue occupies more than KMALLOC_MAX_SIZE")
Signed-off-by: Jason Wang <jasowang@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-02-11 22:33:22 -05:00
..
2018-02-06 18:32:44 -08:00
2018-02-06 16:41:29 -05:00
2018-01-31 17:18:38 -08:00
2018-01-28 22:17:24 -05:00
2018-01-31 17:18:40 -08:00
2018-01-31 17:18:37 -08:00
2018-02-01 11:40:07 -06:00
2018-02-06 16:41:28 -05:00
2018-01-29 12:02:54 -05:00
2018-02-06 18:32:47 -08:00
2018-02-06 18:32:44 -08:00