diff options
author | Hannes Eder <hannes@hanneseder.net> | 2009-02-25 10:32:52 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-26 23:13:35 -0800 |
commit | 56bca31ff1989aa8b60f717e984b0e624f06324e (patch) | |
tree | 574eb3761f17c037dbed7674420873f1f5a879ce /net/ipv4/inet_fragment.c | |
parent | e57c624be8f99e56560fd2f4f485fe29f28dd74f (diff) | |
download | op-kernel-dev-56bca31ff1989aa8b60f717e984b0e624f06324e.zip op-kernel-dev-56bca31ff1989aa8b60f717e984b0e624f06324e.tar.gz |
inet fragments: fix sparse warning: context imbalance
Impact: Attribute function with __releases(...)
Fix this sparse warning:
net/ipv4/inet_fragment.c:276:35: warning: context imbalance in 'inet_frag_find' - unexpected unlock
Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/inet_fragment.c')
-rw-r--r-- | net/ipv4/inet_fragment.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/inet_fragment.c b/net/ipv4/inet_fragment.c index 6c52e08..eaf3e2c 100644 --- a/net/ipv4/inet_fragment.c +++ b/net/ipv4/inet_fragment.c @@ -267,6 +267,7 @@ static struct inet_frag_queue *inet_frag_create(struct netns_frags *nf, struct inet_frag_queue *inet_frag_find(struct netns_frags *nf, struct inet_frags *f, void *key, unsigned int hash) + __releases(&f->lock) { struct inet_frag_queue *q; struct hlist_node *n; |