diff options
author | David Ahern <dsa@cumulusnetworks.com> | 2016-05-05 06:46:12 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-06 21:51:47 +0200 |
commit | b3b4663c973bf11ef19243fa4f1a544cbdc2fa8e (patch) | |
tree | 6732d3a50a98f9009e8eea89c362cd4ea49441f0 /net/ipv6/ip6_fib.c | |
parent | cnic: call cp->stop_hw() in cnic_start_hw() on allocation failure (diff) | |
download | linux-b3b4663c973bf11ef19243fa4f1a544cbdc2fa8e.tar.xz linux-b3b4663c973bf11ef19243fa4f1a544cbdc2fa8e.zip |
net: vrf: Create FIB tables on link create
Tables have to exist for VRFs to function. Ensure they exist
when VRF device is created.
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_fib.c')
-rw-r--r-- | net/ipv6/ip6_fib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/ip6_fib.c b/net/ipv6/ip6_fib.c index ea071fad67a0..1bcef2369d64 100644 --- a/net/ipv6/ip6_fib.c +++ b/net/ipv6/ip6_fib.c @@ -240,6 +240,7 @@ struct fib6_table *fib6_new_table(struct net *net, u32 id) return tb; } +EXPORT_SYMBOL_GPL(fib6_new_table); struct fib6_table *fib6_get_table(struct net *net, u32 id) { |