summaryrefslogtreecommitdiffstats
path: root/net/ipv4/icmp.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-07-11 21:30:08 -0700
committerDavid S. Miller <davem@davemloft.net>2012-07-11 21:30:08 -0700
commit1f42539d257af671d56d4bdbcf13aef31abff6ef (patch)
treee48de1974ba75f1b31d90f8348ba6a5514dba526 /net/ipv4/icmp.c
parent55be7a9c6074f749d617a7fc1914c9a23505438c (diff)
downloadlinux-1f42539d257af671d56d4bdbcf13aef31abff6ef.tar.gz
linux-1f42539d257af671d56d4bdbcf13aef31abff6ef.tar.bz2
linux-1f42539d257af671d56d4bdbcf13aef31abff6ef.zip
ipv4: Kill ip_rt_redirect().
No longer needed, as the protocol handlers now all properly propagate the redirect back into the routing code. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/icmp.c')
-rw-r--r--net/ipv4/icmp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv4/icmp.c b/net/ipv4/icmp.c
index 70a793559bb5..d01aeb4d492e 100644
--- a/net/ipv4/icmp.c
+++ b/net/ipv4/icmp.c
@@ -763,7 +763,6 @@ static void icmp_redirect(struct sk_buff *skb)
if (!pskb_may_pull(skb, sizeof(struct iphdr)))
return;
- ip_rt_redirect(skb, icmp_hdr(skb)->un.gateway);
icmp_socket_deliver(skb, icmp_hdr(skb)->un.gateway);
}