OSDN Git Service

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)
commit935d8a0a43e3f928e3243ae22bc53cd7a014d515
treedad6c05bbe3b456011d2088eeec8bf716f3f6ee0
parent6be4666221cafcfd58cc078aa8bd1ba11b699f6b
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