[ICMP]: Store sock rather than socket for ICMP flow control.
authorDenis V. Lunev <den@openvz.org>
Fri, 29 Feb 2008 19:16:08 +0000 (11:16 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Feb 2008 19:16:08 +0000 (11:16 -0800)
commitb7e729c4b4778aac4dbbec9dc070acde93071f4d
tree31c84099f0821e0929407ba2a2e704fd933e1ec1
parent1e3cf6834e7db1eac94314338c9e30c2103ac409
[ICMP]: Store sock rather than socket for ICMP flow control.

Basically, there is no difference, what to store: socket or sock. Though,
sock looks better as there will be 1 less dereferrence on the fast path.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Acked-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/icmp.c
net/ipv6/icmp.c