summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2017-06-08 20:31:11 +0300
committerDavid S. Miller <davem@davemloft.net>2017-06-09 02:27:42 +0300
commit097d3c9508dc58286344e4a22b300098cf0c1566 (patch)
tree41113cd0f626f9aa313c269868da2131996b283c /net/unix/af_unix.c
parent78a5a93c1eeb4e6933d1f62b33e5496d53b46c5a (diff)
downloadlinux-097d3c9508dc58286344e4a22b300098cf0c1566.tar.xz
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions