diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-03-09 20:40:54 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-10 16:32:28 +0100 |
commit | 0a141509ede48ac33ef756ac1640f4d3f46fa2db (patch) | |
tree | c53ca916f6b61fc72d216d0bb77c02f5cad97a55 /net | |
parent | tcp: Fix tcp_v4_rcv() (diff) | |
download | linux-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.c | 2 |
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; |