]> 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)
commit4797078dc8620749264fa0cd4723d6c753b3d967
treea7bb3d703f97f3c622fc25235cbac2341210d0cd
parentfffd043bcb4dd6d0b5457f4d6997efd1e79c7239
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