mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 12:57:53 +00:00
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>
This commit is contained in:
parent
bb134d5d95
commit
0a141509ed
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue