]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/net/inet_frag.h
inet fragments: fix sparse warning: context imbalance
[karo-tx-linux.git] / include / net / inet_frag.h
index e081eefd6f471a9a5241e3e694f9687be35446bc..39f2dc9439086b83e45b6495e712ebfe91daa2a4 100644 (file)
@@ -61,7 +61,8 @@ void inet_frag_destroy(struct inet_frag_queue *q,
                                struct inet_frags *f, int *work);
 int inet_frag_evictor(struct netns_frags *nf, struct inet_frags *f);
 struct inet_frag_queue *inet_frag_find(struct netns_frags *nf,
-               struct inet_frags *f, void *key, unsigned int hash);
+               struct inet_frags *f, void *key, unsigned int hash)
+       __releases(&f->lock);
 
 static inline void inet_frag_put(struct inet_frag_queue *q, struct inet_frags *f)
 {