Re: [PATCH] net: vrf: Make add_fib_rules per network namespace flag

2017-06-09 Thread Petr Machata
David Ahern writes: > Commit 1aa6c4f6b8cd8 ("net: vrf: Add l3mdev rules on first device create") > adds the l3mdev FIB rule the first time a VRF device is created. However, > it only creates the rule once and only in the namespace the first device > is created - which may not be init_net. Fix by

Re: [PATCH] net: vrf: Make add_fib_rules per network namespace flag

2017-06-08 Thread David Miller
From: David Ahern Date: Thu, 8 Jun 2017 11:31:11 -0600 > Commit 1aa6c4f6b8cd8 ("net: vrf: Add l3mdev rules on first device create") > adds the l3mdev FIB rule the first time a VRF device is created. However, > it only creates the rule once and only in the namespace the first device > is created

[PATCH] net: vrf: Make add_fib_rules per network namespace flag

2017-06-08 Thread David Ahern
Commit 1aa6c4f6b8cd8 ("net: vrf: Add l3mdev rules on first device create") adds the l3mdev FIB rule the first time a VRF device is created. However, it only creates the rule once and only in the namespace the first device is created - which may not be init_net. Fix by using the net_generic capabili