Revision 9cc20b268a5a14f5e57b8ad405a83513ab0d78dc authored by Eric Dumazet on 18 November 2011, 20:24:32 UTC, committed by David S. Miller on 18 November 2011, 20:24:32 UTC
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>
1 parent fb120c0
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 3.4 KB |
Makefile | -rw-r--r-- | 388 bytes |
acl.c | -rw-r--r-- | 9.8 KB |
acl.h | -rw-r--r-- | 1.5 KB |
balloc.c | -rw-r--r-- | 62.1 KB |
bitmap.c | -rw-r--r-- | 702 bytes |
dir.c | -rw-r--r-- | 13.6 KB |
ext3_jbd.c | -rw-r--r-- | 1.5 KB |
file.c | -rw-r--r-- | 2.2 KB |
fsync.c | -rw-r--r-- | 3.1 KB |
hash.c | -rw-r--r-- | 4.3 KB |
ialloc.c | -rw-r--r-- | 19.8 KB |
inode.c | -rw-r--r-- | 104.9 KB |
ioctl.c | -rw-r--r-- | 7.6 KB |
namei.c | -rw-r--r-- | 68.5 KB |
namei.h | -rw-r--r-- | 170 bytes |
resize.c | -rw-r--r-- | 34.0 KB |
super.c | -rw-r--r-- | 83.8 KB |
symlink.c | -rw-r--r-- | 1.4 KB |
xattr.c | -rw-r--r-- | 34.7 KB |
xattr.h | -rw-r--r-- | 3.9 KB |
xattr_security.c | -rw-r--r-- | 2.1 KB |
xattr_trusted.c | -rw-r--r-- | 1.5 KB |
xattr_user.c | -rw-r--r-- | 1.6 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...