]> git.baikalelectronics.ru Git - kernel.git/commit
vrf: simplify the netdev notifier function
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Tue, 18 Aug 2015 17:28:04 +0000 (20:28 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Aug 2015 03:16:52 +0000 (20:16 -0700)
commitc7ca083ad43af5f80d13d54be14a5c3968b6fa83
treea7bb3d703f97f3c622fc25235cbac2341210d0cd
parentee7e7d93b6db96d8c21dd24231d7a72bc7c8205a
vrf: simplify the netdev notifier function

We can drop the check because if vrf_ptr is present then we must have
the vrf device as a master and since we're running with rtnl it can't go
away.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vrf.c