aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/cipso_ipv4.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2011-11-18 15:24:32 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-29 16:34:18 -0800
commit42ab5316ddcaa0de23e88e8a3d363c767b9ab0b3 (patch)
tree24021e80fdb09f83eb83439a0d1c193b6e7fb80c /net/ipv4/cipso_ipv4.c
parentbebee22bcbf0026f92141990972bd5863ef9b69c (diff)
downloadkernel_samsung_smdk4412-42ab5316ddcaa0de23e88e8a3d363c767b9ab0b3.zip
kernel_samsung_smdk4412-42ab5316ddcaa0de23e88e8a3d363c767b9ab0b3.tar.gz
kernel_samsung_smdk4412-42ab5316ddcaa0de23e88e8a3d363c767b9ab0b3.tar.bz2
ipv4: fix redirect handling
[ Upstream commit 9cc20b268a5a14f5e57b8ad405a83513ab0d78dc ] commit f39925dbde77 (ipv4: Cache learned redirect information in inetpeer.) introduced a regression in ICMP redirect handling. It assumed ipv4_dst_check() would be called because all possible routes were attached to the inetpeer we modify in ip_rt_redirect(), but thats not true. commit 7cc9150ebe (route: fix ICMP redirect validation) tried to fix this but solution was not complete. (It fixed only one route) So we must lookup existing routes (including different TOS values) and call check_peer_redir() on them. Reported-by: Ivan Zahariev <famzah@icdsoft.com> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> CC: Flavio Leitner <fbl@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv4/cipso_ipv4.c')
0 files changed, 0 insertions, 0 deletions