summaryrefslogtreecommitdiff
path: root/ipc/mq_sysctl.c
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2017-03-22 14:51:02 -0700
committerDavid S. Miller <davem@davemloft.net>2017-03-22 19:38:56 -0700
commit43c7bd1ffcd1621c64cedf1be52156e2f95bba9b (patch)
treec2102c18cbeb22c0abadece9a602a6ad73bc06ae /ipc/mq_sysctl.c
parenta0be450e19d397e9ff215e32ed31bc51339b460a (diff)
netvsc: use refcount_t for keeping track of sub channels
Rather than a lock and variable, use a refcount_t to keep track of the number of sub channels. Don't need to wait for subchannels on device removal since wait was already done in device_add. Also fix the error handling; don't wait forever in case of an error on request to create sub channels. Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'ipc/mq_sysctl.c')
0 files changed, 0 insertions, 0 deletions