From: Eric Dumazet Date: Tue, 9 Mar 2010 19:40:54 +0000 (+0000) Subject: net: Annotates neigh_invalidate() X-Git-Tag: MMI-PSA29.97-13-9~23985^2~265 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0a141509ede48ac33ef756ac1640f4d3f46fa2db;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git net: Annotates neigh_invalidate() Annotates neigh_invalidate() with __releases() and __acquires() for sparse sake. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- 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;