commit | 6de38af611ca81a970965c06231cd2d5f30b2566 | [log] [tgz] |
---|---|---|
author | stephen hemminger <stephen@networkplumber.org> | Thu Mar 16 16:12:37 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 16 21:39:50 2017 -0700 |
tree | ae4d4f7d6917a8dc79e039ce6d5747f8da5890a2 | |
parent | 3a70418b9c315ca4343d11a82bf1555043056d30 [diff] |
netvsc: avoid race with callback Change the argument to channel callback from the channel pointer to the internal data structure containing per-channel info. This avoids any possible races when callback happens during initialization and makes IRQ code simpler. Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>