summaryrefslogtreecommitdiffstats
path: root/net/ipv4/icmp.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-07-12 06:30:08 +0200
committerDavid S. Miller <davem@davemloft.net>2012-07-12 06:30:08 +0200
commit1f42539d257af671d56d4bdbcf13aef31abff6ef (patch)
treee48de1974ba75f1b31d90f8348ba6a5514dba526 /net/ipv4/icmp.c
parentipv4: Add redirect support to all protocol icmp error handlers. (diff)
downloadlinux-1f42539d257af671d56d4bdbcf13aef31abff6ef.tar.xz
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);
}