netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: Annotates neigh_invalidate()
@ 2010-03-10  5:40 Eric Dumazet
  2010-03-10 15:35 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Dumazet @ 2010-03-10  5:40 UTC (permalink / raw)
  To: David Miller; +Cc: netdev

Annotates neigh_invalidate() with __releases() and __acquires() for
sparse sake.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
---
diff --git a/net/core/neighbour.c b/net/core/neighbour.c
index d102f6d..6cee643 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;
 




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: Annotates neigh_invalidate()
  2010-03-10  5:40 [PATCH] net: Annotates neigh_invalidate() Eric Dumazet
@ 2010-03-10 15:35 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2010-03-10 15:35 UTC (permalink / raw)
  To: eric.dumazet; +Cc: netdev

From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Wed, 10 Mar 2010 06:40:54 +0100

> Annotates neigh_invalidate() with __releases() and __acquires() for
> sparse sake.
> 
> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-10 15:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-10  5:40 [PATCH] net: Annotates neigh_invalidate() Eric Dumazet
2010-03-10 15:35 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).