aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/inet_fragment.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/inet_fragment.c')
-rw-r--r--net/ipv4/inet_fragment.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/ipv4/inet_fragment.c b/net/ipv4/inet_fragment.c
index f1b95e128772..724d69aed031 100644
--- a/net/ipv4/inet_fragment.c
+++ b/net/ipv4/inet_fragment.c
@@ -83,6 +83,13 @@ void inet_frags_fini(struct inet_frags *f)
83} 83}
84EXPORT_SYMBOL(inet_frags_fini); 84EXPORT_SYMBOL(inet_frags_fini);
85 85
86void inet_frags_exit_net(struct netns_frags *nf, struct inet_frags *f)
87{
88 nf->low_thresh = 0;
89 inet_frag_evictor(nf, f);
90}
91EXPORT_SYMBOL(inet_frags_exit_net);
92
86static inline void fq_unlink(struct inet_frag_queue *fq, struct inet_frags *f) 93static inline void fq_unlink(struct inet_frag_queue *fq, struct inet_frags *f)
87{ 94{
88 write_lock(&f->lock); 95 write_lock(&f->lock);