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 |
---|---|---|
9p | ||
adfs | ||
affs | ||
afs | ||
autofs4 | ||
befs | ||
bfs | ||
btrfs | ||
cachefiles | ||
ceph | ||
cifs | ||
coda | ||
configfs | ||
cramfs | ||
debugfs | ||
devpts | ||
dlm | ||
ecryptfs | ||
efs | ||
exofs | ||
exportfs | ||
ext2 | ||
ext3 | ||
ext4 | ||
fat | ||
freevxfs | ||
fscache | ||
fuse | ||
gfs2 | ||
hfs | ||
hfsplus | ||
hostfs | ||
hpfs | ||
hppfs | ||
hugetlbfs | ||
isofs | ||
jbd | ||
jbd2 | ||
jffs2 | ||
jfs | ||
lockd | ||
logfs | ||
minix | ||
ncpfs | ||
nfs | ||
nfs_common | ||
nfsd | ||
nilfs2 | ||
nls | ||
notify | ||
ntfs | ||
ocfs2 | ||
omfs | ||
openpromfs | ||
partitions | ||
proc | ||
pstore | ||
qnx4 | ||
quota | ||
ramfs | ||
reiserfs | ||
romfs | ||
squashfs | ||
sysfs | ||
sysv | ||
ubifs | ||
udf | ||
ufs | ||
xfs | ||
Kconfig | -rw-r--r-- | 6.1 KB |
Kconfig.binfmt | -rw-r--r-- | 6.4 KB |
Makefile | -rw-r--r-- | 4.0 KB |
aio.c | -rw-r--r-- | 47.7 KB |
anon_inodes.c | -rw-r--r-- | 6.4 KB |
attr.c | -rw-r--r-- | 6.7 KB |
bad_inode.c | -rw-r--r-- | 7.8 KB |
binfmt_aout.c | -rw-r--r-- | 12.4 KB |
binfmt_elf.c | -rw-r--r-- | 54.0 KB |
binfmt_elf_fdpic.c | -rw-r--r-- | 48.6 KB |
binfmt_em86.c | -rw-r--r-- | 2.8 KB |
binfmt_flat.c | -rw-r--r-- | 27.0 KB |
binfmt_misc.c | -rw-r--r-- | 15.1 KB |
binfmt_script.c | -rw-r--r-- | 2.8 KB |
binfmt_som.c | -rw-r--r-- | 7.4 KB |
bio-integrity.c | -rw-r--r-- | 21.2 KB |
bio.c | -rw-r--r-- | 39.4 KB |
block_dev.c | -rw-r--r-- | 40.9 KB |
buffer.c | -rw-r--r-- | 87.5 KB |
char_dev.c | -rw-r--r-- | 13.8 KB |
compat.c | -rw-r--r-- | 44.6 KB |
compat_binfmt_elf.c | -rw-r--r-- | 3.5 KB |
compat_ioctl.c | -rw-r--r-- | 46.0 KB |
dcache.c | -rw-r--r-- | 76.7 KB |
dcookies.c | -rw-r--r-- | 6.8 KB |
direct-io.c | -rw-r--r-- | 37.7 KB |
drop_caches.c | -rw-r--r-- | 1.5 KB |
eventfd.c | -rw-r--r-- | 11.0 KB |
eventpoll.c | -rw-r--r-- | 44.5 KB |
exec.c | -rw-r--r-- | 52.6 KB |
fcntl.c | -rw-r--r-- | 18.7 KB |
fhandle.c | -rw-r--r-- | 6.5 KB |
fifo.c | -rw-r--r-- | 3.2 KB |
file.c | -rw-r--r-- | 12.0 KB |
file_table.c | -rw-r--r-- | 13.2 KB |
filesystems.c | -rw-r--r-- | 6.4 KB |
fs-writeback.c | -rw-r--r-- | 37.2 KB |
fs_struct.c | -rw-r--r-- | 3.9 KB |
generic_acl.c | -rw-r--r-- | 3.8 KB |
inode.c | -rw-r--r-- | 42.9 KB |
internal.h | -rw-r--r-- | 3.5 KB |
ioctl.c | -rw-r--r-- | 15.7 KB |
ioprio.c | -rw-r--r-- | 5.0 KB |
libfs.c | -rw-r--r-- | 25.6 KB |
locks.c | -rw-r--r-- | 59.0 KB |
mbcache.c | -rw-r--r-- | 16.4 KB |
mpage.c | -rw-r--r-- | 20.0 KB |
namei.c | -rw-r--r-- | 82.4 KB |
namespace.c | -rw-r--r-- | 65.5 KB |
no-block.c | -rw-r--r-- | 688 bytes |
open.c | -rw-r--r-- | 26.3 KB |
pipe.c | -rw-r--r-- | 28.4 KB |
pnode.c | -rw-r--r-- | 9.3 KB |
pnode.h | -rw-r--r-- | 1.1 KB |
posix_acl.c | -rw-r--r-- | 9.2 KB |
read_write.c | -rw-r--r-- | 22.4 KB |
read_write.h | -rw-r--r-- | 542 bytes |
readdir.c | -rw-r--r-- | 6.9 KB |
select.c | -rw-r--r-- | 24.2 KB |
seq_file.c | -rw-r--r-- | 17.8 KB |
signalfd.c | -rw-r--r-- | 7.5 KB |
splice.c | -rw-r--r-- | 46.3 KB |
stack.c | -rw-r--r-- | 2.5 KB |
stat.c | -rw-r--r-- | 10.6 KB |
statfs.c | -rw-r--r-- | 5.0 KB |
super.c | -rw-r--r-- | 28.5 KB |
sync.c | -rw-r--r-- | 9.9 KB |
timerfd.c | -rw-r--r-- | 8.6 KB |
utimes.c | -rw-r--r-- | 5.7 KB |
xattr.c | -rw-r--r-- | 17.3 KB |
xattr_acl.c | -rw-r--r-- | 2.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...