diff options
author | Daniel Lezcano <dlezcano@fr.ibm.com> | 2008-01-10 05:56:03 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:01:18 -0500 |
commit | e71e0349eb32bc438fa80d8990c6f3592967d111 (patch) | |
tree | 1fc9565c1b8c36e5fe9ecfde20bd989f6475324f /include/net/ipv6.h | |
parent | 99bc9c4e45e7e783cf0b0a25cc03a103c038f254 (diff) |
[NETNS][IPV6]: Make ip6_frags per namespace.
The ip6_frags is moved to the network namespace structure. Because
there can be multiple instances of the network namespaces, and the
ip6_frags is no longer a global static variable, a helper function has
been added to facilitate the initialization of the variables.
Until the ipv6 protocol is not per namespace, the variables are
accessed relatively from the initial network namespace.
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ipv6.h')
-rw-r--r-- | include/net/ipv6.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h index d03a4076e227..c8e8cb241090 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h | |||
@@ -572,9 +572,6 @@ extern int inet6_hash_connect(struct inet_timewait_death_row *death_row, | |||
572 | /* | 572 | /* |
573 | * reassembly.c | 573 | * reassembly.c |
574 | */ | 574 | */ |
575 | struct inet_frags_ctl; | ||
576 | extern struct inet_frags_ctl ip6_frags_ctl; | ||
577 | |||
578 | extern const struct proto_ops inet6_stream_ops; | 575 | extern const struct proto_ops inet6_stream_ops; |
579 | extern const struct proto_ops inet6_dgram_ops; | 576 | extern const struct proto_ops inet6_dgram_ops; |
580 | 577 | ||