commit | a0be450e19d397e9ff215e32ed31bc51339b460a | [log] [tgz] |
---|---|---|
author | stephen hemminger <stephen@networkplumber.org> | Wed Mar 22 14:51:01 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 22 19:38:56 2017 -0700 |
tree | fb7c297434d8817060216d1837eeb3e9effa47c3 | |
parent | 545a8e79bd1cc8774877a26275171a2ec8881c9e [diff] |
netvsc: uses RCU instead of removal flag It is cleaner to use RCU protected pointer (nvdev_ctx->nvdev) to indicate device is in removed state, rather than having a separate boolean flag. By using the pointer the context can be checked by static checkers and dynamic lockdep. Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>