]> git.baikalelectronics.ru Git - kernel.git/commit
hv_netvsc: remove locking in netvsc_send()
authorVitaly Kuznetsov <vkuznets@redhat.com>
Wed, 2 Dec 2015 00:43:12 +0000 (16:43 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2015 04:43:24 +0000 (23:43 -0500)
commitd22d1f3d3a8da2a67558c89bb570395681f22de3
tree15e4e14be435e272736d2a06f3b891e0e808f108
parent0b0df8de096e21149bfa2326c7f818683b340e81
hv_netvsc: remove locking in netvsc_send()

Packet scheduler guarantees there won't be multiple senders for the same
queue and as we use q_idx for multi_send_data the spinlock is redundant.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/hyperv_net.h
drivers/net/hyperv/netvsc.c