diff options
author | Denis V. Lunev <den@openvz.org> | 2008-02-01 03:49:32 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-01 04:28:40 +0100 |
commit | 7462bd744e8882f9ebb9220d46fd4fec8b35b082 (patch) | |
tree | 25c5ba54034199e6a8e3d123c5e8e79f88f7c394 /include/net/ip_fib.h | |
parent | [IPV4]: fib_sync_down rework. (diff) | |
download | linux-7462bd744e8882f9ebb9220d46fd4fec8b35b082.tar.xz 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; |