Thread (2 messages) flat view 2 messages, 2 authors, 2012-06-20

Re: [PATCH net-next] inetpeer: inetpeer_invalidate_tree() cleanup

From: David Miller <davem@davemloft.net>
Date: 2012-06-20 21:39:18

From: Eric Dumazet <redacted>
Date: Wed, 20 Jun 2012 16:02:10 +0200
From: Eric Dumazet <edumazet@google.com>

No need to use cmpxchg() in inetpeer_invalidate_tree() since we hold
base lock.

Also use correct rcu annotations to remove sparse errors
(CONFIG_SPARSE_RCU_POINTER=y)

net/ipv4/inetpeer.c:144:19: error: incompatible types in comparison
expression (different address spaces)
net/ipv4/inetpeer.c:149:20: error: incompatible types in comparison
expression (different address spaces)
net/ipv4/inetpeer.c:595:10: error: incompatible types in comparison
expression (different address spaces)


Signed-off-by: Eric Dumazet <edumazet@google.com>
Applied, thanks Eric.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help