summaryrefslogtreecommitdiffstats
path: root/drivers/net/loopback.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2007-10-15 21:54:15 +0200
committerDavid S. Miller <davem@davemloft.net>2007-10-15 21:54:15 +0200
commit4ae289444b968b4cefd776ada8da519ce10e56fa (patch)
tree06aa4ff04bb1acdb64c29fc4b28a5cf91b1d57b8 /drivers/net/loopback.c
parent[INET]: kmalloc+memset -> kzalloc in frag_alloc_queue (diff)
downloadlinux-4ae289444b968b4cefd776ada8da519ce10e56fa.tar.xz
linux-4ae289444b968b4cefd776ada8da519ce10e56fa.zip
[NEIGH]: Ensure that pneigh_lookup is protected with RTNL
The pnigh_lookup is used to lookup proxy entries and to create them in case lookup failed. However, the "creation" code does not perform the re-lookup after GFP_KERNEL allocation. This is done because the code is expected to be protected with the RTNL lock, so add the assertion (mainly to address future questions from new network developers like me :) ). Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/loopback.c')
0 files changed, 0 insertions, 0 deletions