diff options
author | David S. Miller <davem@davemloft.net> | 2012-07-12 00:30:08 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-12 00:30:08 -0400 |
commit | 1f42539d257af671d56d4bdbcf13aef31abff6ef (patch) | |
tree | e48de1974ba75f1b31d90f8348ba6a5514dba526 /net/ipv4/icmp.c | |
parent | 55be7a9c6074f749d617a7fc1914c9a23505438c (diff) |
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.c | 1 |
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) | |||
763 | if (!pskb_may_pull(skb, sizeof(struct iphdr))) | 763 | if (!pskb_may_pull(skb, sizeof(struct iphdr))) |
764 | return; | 764 | return; |
765 | 765 | ||
766 | ip_rt_redirect(skb, icmp_hdr(skb)->un.gateway); | ||
767 | icmp_socket_deliver(skb, icmp_hdr(skb)->un.gateway); | 766 | icmp_socket_deliver(skb, icmp_hdr(skb)->un.gateway); |
768 | } | 767 | } |
769 | 768 | ||