diff options
author | 2016-05-31 11:52:43 +0800 | |
---|---|---|
committer | 2016-05-31 14:21:09 -0700 | |
commit | f00e35e259948b995aa1f3ee7fddb05f34a50157 (patch) | |
tree | e25a6eb51a1b3b1b2c5ff48810b4609c6deee507 /tools/perf/scripts/python/stackcollapse.py | |
parent | bnx2x: avoid leaking memory on bnx2x_init_one() failures (diff) | |
download | linux-dev-f00e35e259948b995aa1f3ee7fddb05f34a50157.tar.xz linux-dev-f00e35e259948b995aa1f3ee7fddb05f34a50157.zip |
virtio_net: fix virtnet_open and virtnet_probe competing for try_fill_recv
In function virtnet_open() and virtnet_probe(), func try_fill_recv() may
be executed at the same time. VQ in virtqueue_add() has not been protected
well and BUG_ON will be triggered when virito_net.ko being removed.
Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions