diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-06-01 00:26:58 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-01 00:26:58 -0700 |
commit | aac4dddc358acfd9d98b20024a42c34dfab31c39 (patch) | |
tree | 08c9bb6dcbb45673ded4e63ea676f54f9abf8180 /drivers/net/atl1c/atl1c_main.c | |
parent | 95e3bb7aff59d3b6c73d55d1a386ee53b8363fb5 (diff) |
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 <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/atl1c/atl1c_main.c')
0 files changed, 0 insertions, 0 deletions