diff options
author | wangyunjian <wangyunjian@huawei.com> | 2016-05-31 11:52:43 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-31 14:21:09 -0700 |
commit | f00e35e259948b995aa1f3ee7fddb05f34a50157 (patch) | |
tree | e25a6eb51a1b3b1b2c5ff48810b4609c6deee507 /Documentation/devicetree | |
parent | bae5499cc55d2329ea0fbf09cb22298f4ca2f9bd (diff) |
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 'Documentation/devicetree')
0 files changed, 0 insertions, 0 deletions