]> git.baikalelectronics.ru Git - kernel.git/commit
use __netdev_notify_peers in hyperv
authorLijun Pan <ljp@linux.ibm.com>
Mon, 14 Dec 2020 21:19:30 +0000 (15:19 -0600)
committerJakub Kicinski <kuba@kernel.org>
Wed, 16 Dec 2020 19:43:26 +0000 (11:43 -0800)
commit360d6ae3a3a1f264a77a785a959f74a052dbe087
treedad6c05bbe3b456011d2088eeec8bf716f3f6ee0
parent47a322a0581c10c1d33b505eb97634d59e03701c
use __netdev_notify_peers in hyperv

Start to use the lockless version of netdev_notify_peers.
Call the helper where notify variable used to be set true.
Remove the notify bool variable and sort the variables
in reverse Christmas tree order.

Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Lijun Pan <ljp@linux.ibm.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/hyperv/netvsc_drv.c