diff options
author | Michal Kubecek <mkubecek@suse.cz> | 2013-05-28 08:26:49 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-28 08:39:19 +0200 |
commit | f96ef988cc603487c03a6de07807b06cbe641829 (patch) | |
tree | eeca4296492586db73ab13e22da6394203e25b3f /sound/parisc | |
parent | net: phy: fix a bug when verify the EEE support (diff) | |
download | linux-f96ef988cc603487c03a6de07807b06cbe641829.tar.xz linux-f96ef988cc603487c03a6de07807b06cbe641829.zip |
ipv4: fix redirect handling for TCP packets
Unlike ipv4_redirect() and ipv4_sk_redirect(), ip_do_redirect()
doesn't call __build_flow_key() directly but via
ip_rt_build_flow_key() wrapper. This leads to __build_flow_key()
getting pointer to IPv4 header of the ICMP redirect packet
rather than pointer to the embedded IPv4 header of the packet
initiating the redirect.
As a result, handling of ICMP redirects initiated by TCP packets
is broken. Issue was introduced by
4895c771c ("ipv4: Add FIB nexthop exceptions.")
Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/parisc')
0 files changed, 0 insertions, 0 deletions