diff options
author | David S. Miller <davem@davemloft.net> | 2012-07-11 21:30:08 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-11 21:30:08 -0700 |
commit | 1f42539d257af671d56d4bdbcf13aef31abff6ef (patch) | |
tree | e48de1974ba75f1b31d90f8348ba6a5514dba526 /net/ipv4/icmp.c | |
parent | 55be7a9c6074f749d617a7fc1914c9a23505438c (diff) | |
download | op-kernel-dev-1f42539d257af671d56d4bdbcf13aef31abff6ef.zip op-kernel-dev-1f42539d257af671d56d4bdbcf13aef31abff6ef.tar.gz |
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 70a7935..d01aeb4 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); } |