]> git.baikalelectronics.ru Git - kernel.git/commit
net: vrf: Add l3mdev rules on first device create
authorDavid Ahern <dsa@cumulusnetworks.com>
Wed, 8 Jun 2016 17:55:40 +0000 (10:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Jun 2016 18:36:02 +0000 (11:36 -0700)
commit6896e0806e9ba7438392ab0057ac34eed6ad95d6
treed131da3350f06982ff304714bdb40415c1db3184
parenta86881151dd798ca4e15b4a55b06776180238910
net: vrf: Add l3mdev rules on first device create

Add l3mdev rule per address family when the first VRF device is
created. The rules are installed with a default preference of 1000.
Users can replace the default rule as desired.

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