diff options
author | David S. Miller <davem@davemloft.net> | 2012-07-12 00:27:49 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-12 00:27:49 -0400 |
commit | 55be7a9c6074f749d617a7fc1914c9a23505438c (patch) | |
tree | 507268878abc1c5f5476823264b6f9f8acefa205 /net/ipv4/ping.c | |
parent | b42597e2f36e2043756aa7462faddf630962f061 (diff) |
ipv4: Add redirect support to all protocol icmp error handlers.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ping.c')
-rw-r--r-- | net/ipv4/ping.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/ping.c b/net/ipv4/ping.c index 340fcf29a966..6232d476f37e 100644 --- a/net/ipv4/ping.c +++ b/net/ipv4/ping.c | |||
@@ -387,6 +387,7 @@ void ping_err(struct sk_buff *skb, u32 info) | |||
387 | break; | 387 | break; |
388 | case ICMP_REDIRECT: | 388 | case ICMP_REDIRECT: |
389 | /* See ICMP_SOURCE_QUENCH */ | 389 | /* See ICMP_SOURCE_QUENCH */ |
390 | ipv4_sk_redirect(skb, sk); | ||
390 | err = EREMOTEIO; | 391 | err = EREMOTEIO; |
391 | break; | 392 | break; |
392 | } | 393 | } |