summaryrefslogtreecommitdiffstats
path: root/lib/ts_bm.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2018-03-20 23:03:03 +0100
committerDavid S. Miller <davem@davemloft.net>2018-03-22 17:45:09 +0100
commit02400fcee2542ee334a2394e0d9f6efd969fe782 (patch)
tree2ad599ce6ff91b8f1b298adf73d4fdde29f756af /lib/ts_bm.c
parenthv_netvsc: disable NAPI before channel close (diff)
downloadlinux-02400fcee2542ee334a2394e0d9f6efd969fe782.tar.xz
linux-02400fcee2542ee334a2394e0d9f6efd969fe782.zip
hv_netvsc: use RCU to fix concurrent rx and queue changes
The receive processing may continue to happen while the internal network device state is in RCU grace period. The internal RNDIS structure is associated with the internal netvsc_device structure; both have the same RCU lifetime. Defer freeing all associated parts until after grace period. Fixes: 0cf737808ae7 ("hv_netvsc: netvsc_teardown_gpadl() split") Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/ts_bm.c')
0 files changed, 0 insertions, 0 deletions