summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2017-06-08 11:31:11 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-05 14:40:14 +0200
commit386ed38f0f28b5dffe11c5665997882115fb788e (patch)
treee1e9ecafd04c896f8205063d04fb36efe3715754 /net/unix/af_unix.c
parentb5cc68e0c1905a3cb94677a4d1b3e03f65881231 (diff)
net: vrf: Make add_fib_rules per network namespace flag
[ Upstream commit 097d3c9508dc58286344e4a22b300098cf0c1566 ] 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions