aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/inet_frag.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/inet_frag.h')
-rw-r--r--include/net/inet_frag.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/inet_frag.h b/include/net/inet_frag.h
index d36f3a6e6d4e..6edce7b2ff13 100644
--- a/include/net/inet_frag.h
+++ b/include/net/inet_frag.h
@@ -3,6 +3,7 @@
3 3
4struct netns_frags { 4struct netns_frags {
5 int nqueues; 5 int nqueues;
6 atomic_t mem;
6}; 7};
7 8
8struct inet_frag_queue { 9struct inet_frag_queue {
@@ -38,7 +39,6 @@ struct inet_frags {
38 rwlock_t lock; 39 rwlock_t lock;
39 u32 rnd; 40 u32 rnd;
40 int qsize; 41 int qsize;
41 atomic_t mem;
42 struct timer_list secret_timer; 42 struct timer_list secret_timer;
43 struct inet_frags_ctl *ctl; 43 struct inet_frags_ctl *ctl;
44 44
@@ -60,7 +60,7 @@ void inet_frags_init_net(struct netns_frags *nf);
60void inet_frag_kill(struct inet_frag_queue *q, struct inet_frags *f); 60void inet_frag_kill(struct inet_frag_queue *q, struct inet_frags *f);
61void inet_frag_destroy(struct inet_frag_queue *q, 61void inet_frag_destroy(struct inet_frag_queue *q,
62 struct inet_frags *f, int *work); 62 struct inet_frags *f, int *work);
63int inet_frag_evictor(struct inet_frags *f); 63int inet_frag_evictor(struct netns_frags *nf, struct inet_frags *f);
64struct inet_frag_queue *inet_frag_find(struct netns_frags *nf, 64struct inet_frag_queue *inet_frag_find(struct netns_frags *nf,
65 struct inet_frags *f, void *key, unsigned int hash); 65 struct inet_frags *f, void *key, unsigned int hash);
66 66