]> err.no Git - linux-2.6/commit
[ICMP]: Optimize icmp_socket usage.
authorDenis V. Lunev <den@openvz.org>
Fri, 29 Feb 2008 19:15:42 +0000 (11:15 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Feb 2008 19:15:42 +0000 (11:15 -0800)
commit1e3cf6834e7db1eac94314338c9e30c2103ac409
treee363b152efd6fe4c7d4ddeb44d78b3365a19d833
parenta5710d6582868a96cf0fe02eac11d34cfbc783c9
[ICMP]: Optimize icmp_socket usage.

Use this macro only once in a function to save a bit of space.

add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-98 (-98)
function                                     old     new   delta
icmp_reply                                   562     561      -1
icmp_push_reply                              305     258     -47
icmp_init                                    273     223     -50

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