diff options
| author | Vitaly Kuznetsov <[email protected]> | 2016-05-13 13:55:21 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-05-16 13:26:00 -0400 |
| commit | 1bdcec8a5f05445752a0639edd603ac09ae6c553 (patch) | |
| tree | 09c637dad4d6a3a111646b5354c1a1852c3fa581 /scripts/gdb/linux/proc.py | |
| parent | f580aec4bfd7babe51f086e599400027def08ed8 (diff) | |
hv_netvsc: use start_remove flag to protect netvsc_link_change()
netvsc_link_change() can race with netvsc_change_mtu() or
netvsc_set_channels() as these functions destroy struct netvsc_device and
rndis filter. Use start_remove flag for syncronization. As
netvsc_change_mtu()/netvsc_set_channels() are called with rtnl lock held
we need to take it before checking start_remove value in
netvsc_link_change().
Reported-by: Haiyang Zhang <[email protected]>
Signed-off-by: Vitaly Kuznetsov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions