Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
[powerpc.git] / include / net / inet_frag.h
index 1917fbe..7374251 100644 (file)
@@ -4,6 +4,7 @@
 struct netns_frags {
        int                     nqueues;
        atomic_t                mem;
+       struct list_head        lru_list;
 
        /* sysctls */
        int                     timeout;
@@ -32,7 +33,6 @@ struct inet_frag_queue {
 #define INETFRAGS_HASHSZ               64
 
 struct inet_frags {
-       struct list_head        lru_list;
        struct hlist_head       hash[INETFRAGS_HASHSZ];
        rwlock_t                lock;
        u32                     rnd;
@@ -54,6 +54,7 @@ void inet_frags_init(struct inet_frags *);
 void inet_frags_fini(struct inet_frags *);
 
 void inet_frags_init_net(struct netns_frags *nf);
+void inet_frags_exit_net(struct netns_frags *nf, struct inet_frags *f);
 
 void inet_frag_kill(struct inet_frag_queue *q, struct inet_frags *f);
 void inet_frag_destroy(struct inet_frag_queue *q,