Commit 0a141509 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller

net: Annotates neigh_invalidate()

Annotates neigh_invalidate() with __releases() and __acquires() for
sparse sake.
Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bb134d5d
...@@ -771,6 +771,8 @@ static __inline__ int neigh_max_probes(struct neighbour *n) ...@@ -771,6 +771,8 @@ static __inline__ int neigh_max_probes(struct neighbour *n)
} }
static void neigh_invalidate(struct neighbour *neigh) static void neigh_invalidate(struct neighbour *neigh)
__releases(neigh->lock)
__acquires(neigh->lock)
{ {
struct sk_buff *skb; struct sk_buff *skb;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment