diff options
author | Denis V. Lunev <den@openvz.org> | 2008-01-31 18:49:32 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-31 19:28:40 -0800 |
commit | 7462bd744e8882f9ebb9220d46fd4fec8b35b082 (patch) | |
tree | 25c5ba54034199e6a8e3d123c5e8e79f88f7c394 /include/net/ip_fib.h | |
parent | 85326fa54b5516d8859617cc5fdfce8ae19c1480 (diff) | |
download | blackbird-op-linux-7462bd744e8882f9ebb9220d46fd4fec8b35b082.tar.gz blackbird-op-linux-7462bd744e8882f9ebb9220d46fd4fec8b35b082.zip |
[NETNS]: Add a namespace mark to fib_info.
This is required to make fib_info lookups namespace aware. In the
other case initial namespace devices are marked as dead in the local
routing table during other namespace stop.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip_fib.h')
-rw-r--r-- | include/net/ip_fib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h index 1b2f008db978..cb0df37950b7 100644 --- a/include/net/ip_fib.h +++ b/include/net/ip_fib.h @@ -69,6 +69,7 @@ struct fib_nh { struct fib_info { struct hlist_node fib_hash; struct hlist_node fib_lhash; + struct net *fib_net; int fib_treeref; atomic_t fib_clntref; int fib_dead; |