diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2018-01-26 01:36:31 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-29 12:02:53 -0500 |
commit | 88fae87327a2261cf8db078f6ce4e5a3e55b30b1 (patch) | |
tree | 06987686791f41db7e129f796f88839bda3bbeff /Documentation/clearing-warn-once.txt | |
parent | a259df36d1fbf25f0e4f649fdb84e4527e5640ed (diff) | |
download | linux-88fae87327a2261cf8db078f6ce4e5a3e55b30b1.tar.gz |
tap: fix use-after-free
Lockless access to __ptr_ring_full is only legal if ring is
never resized, otherwise it might cause use-after free errors.
Simply drop the lockless test, we'll drop the packet
a bit later when produce fails.
Fixes: 362899b8 ("macvtap: switch to use skb array")
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/clearing-warn-once.txt')
0 files changed, 0 insertions, 0 deletions