commit | 07d0f0008c783d2a2fce8497000938db15fd7aa1 | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <sthemmin@microsoft.com> | Thu Sep 22 16:56:30 2016 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 23 08:39:48 2016 -0400 |
tree | b792016c8e949a41850a188a6eadebb9250f74eb | |
parent | 17db4bcef3c3c45b95b3b3d8577f725df1b2c0a0 [diff] |
hv_netvsc: dev hold/put reference to VF The netvsc driver holds a pointer to the virtual function network device if managing SR-IOV association. In order to ensure that the VF network device does not disappear, it should be using dev_hold/dev_put to get a reference count. Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>