From: Eric Dumazet Date: Tue, 1 Jun 2010 07:26:58 +0000 (-0700) Subject: ipv6: get rid of ipip6_prl_lock X-Git-Tag: v2.6.36-rc1~571^2~707 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aac4dddc358acfd9d98b20024a42c34dfab31c39;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed