summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-03-09 20:40:54 +0100
committerDavid S. Miller <davem@davemloft.net>2010-03-10 16:32:28 +0100
commit0a141509ede48ac33ef756ac1640f4d3f46fa2db (patch)
treec53ca916f6b61fc72d216d0bb77c02f5cad97a55 /net
parenttcp: Fix tcp_v4_rcv() (diff)
downloadlinux-0a141509ede48ac33ef756ac1640f4d3f46fa2db.tar.xz
linux-0a141509ede48ac33ef756ac1640f4d3f46fa2db.zip
net: Annotates neigh_invalidate()
Annotates neigh_invalidate() with __releases() and __acquires() for sparse sake. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/core/neighbour.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/core/neighbour.c b/net/core/neighbour.c
index d102f6d9abdc..6cee6434da67 100644
--- a/net/core/neighbour.c
+++ b/net/core/neighbour.c
@@ -771,6 +771,8 @@ static __inline__ int neigh_max_probes(struct neighbour *n)
}
static void neigh_invalidate(struct neighbour *neigh)
+ __releases(neigh->lock)
+ __acquires(neigh->lock)
{
struct sk_buff *skb;