diff options
author | Eric Dumazet <edumazet@google.com> | 2016-11-15 22:24:12 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-12-10 19:07:22 +0100 |
commit | 790fd11f9ed6d2558a516280c3bd1e25b0c64c90 (patch) | |
tree | 88b7d5831feec00ef2e95400ee5f5b20b9e385ad /net/unix/af_unix.c | |
parent | e5f84c1444ae59c85bd25ba05393c6bc87067ddb (diff) |
virtio-net: add a missing synchronize_net()
[ Upstream commit 963abe5c8a0273a1cf5913556da1b1189de0e57a ]
It seems many drivers do not respect napi_hash_del() contract.
When napi_hash_del() is used before netif_napi_del(), an RCU grace
period is needed before freeing NAPI object.
Fixes: 91815639d880 ("virtio-net: rx busy polling support")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Jason Wang <jasowang@redhat.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions