diff options
author | David Ahern <dsahern@gmail.com> | 2017-06-08 11:31:11 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-08 19:27:42 -0400 |
commit | 097d3c9508dc58286344e4a22b300098cf0c1566 (patch) | |
tree | 41113cd0f626f9aa313c269868da2131996b283c /mm/percpu-km.c | |
parent | 78a5a93c1eeb4e6933d1f62b33e5496d53b46c5a (diff) |
net: vrf: Make add_fib_rules per network namespace flag
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
capability to make the add_fib_rules flag per network namespace.
Fixes: 1aa6c4f6b8cd8 ("net: vrf: Add l3mdev rules on first device create")
Reported-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/percpu-km.c')
0 files changed, 0 insertions, 0 deletions