From: Denis V. Lunev Date: Fri, 29 Feb 2008 19:16:46 +0000 (-0800) Subject: [ICMP]: Pass proper ICMP socket into icmp(v6)_xmit_(un)lock. X-Git-Tag: v2.6.26-rc1~1138^2~546 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=405666db84b984b68fc75794069f424c02e5796c;p=pandora-kernel.git [ICMP]: Pass proper ICMP socket into icmp(v6)_xmit_(un)lock. We have to get socket lock inside icmp(v6)_xmit_lock/unlock. The socket is get from global variable now. When this code became namespaces, one should pass a namespace and get socket from it. Though, above is useless. Socket is available in the caller, just pass it inside. This saves a bit of code now and saves more later. add/remove: 0/0 grow/shrink: 1/3 up/down: 1/-169 (-168) function old new delta icmp_rcv 718 719 +1 icmpv6_rcv 2343 2303 -40 icmp_send 1566 1518 -48 icmp_reply 549 468 -81 Signed-off-by: Denis V. Lunev Acked-by: Daniel Lezcano Signed-off-by: David S. Miller --- Reading git-diff-tree failed