commit | 84328342a70a44379dd73011a44c5f5e00481a42 | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Fri Jan 26 01:36:32 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 29 12:02:54 2018 -0500 |
tree | 6632999881c596c3fa989da3e062ef1fdb07dfcf | |
parent | 88fae87327a2261cf8db078f6ce4e5a3e55b30b1 [diff] |
ptr_ring: disallow lockless __ptr_ring_full Similar to bcecb4bbf88a ("net: ptr_ring: otherwise safe empty checks can overrun array bounds") a lockless use of __ptr_ring_full might cause an out of bounds access. We can fix this, but it's easier to just disallow lockless __ptr_ring_full for now. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>