Thread (8 messages) 8 messages, 3 authors, 2010-06-01

Re: [PATCH] ipv6: get rid of ipip6_prl_lock

From: David Miller <davem@davemloft.net>
Date: 2010-06-01 07:27:13
Also in: kernel-janitors, lkml

From: Eric Dumazet <redacted>
Date: Mon, 31 May 2010 07:04:55 +0200
[PATCH] ipv6: get rid of ipip6_prl_lock

As noticed by Julia Lawall, ipip6_tunnel_add_prl() incorrectly calls 
kzallloc(..., GFP_KERNEL) while a spinlock is held. She provided
a patch to use GFP_ATOMIC instead.

One possibility would be to convert this spinlock to a mutex, or
preallocate the thing before taking the lock.

After RCU conversion, it appears we dont need this lock, since 
caller already holds RTNL

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