projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb134d5
)
net: Annotates neigh_invalidate()
author
Eric Dumazet
<eric.dumazet@gmail.com>
Tue, 9 Mar 2010 19:40:54 +0000
(19:40 +0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 10 Mar 2010 15:32:28 +0000
(07:32 -0800)
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>
net/core/neighbour.c
patch
|
blob
|
history
diff --git
a/net/core/neighbour.c
b/net/core/neighbour.c
index d102f6d9abdcf7878d73cc75a9f1b23fc84ed4d0..6cee6434da677a393d218a4c50e069d80932a594 100644
(file)
--- 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;