diff options
author | 2011-10-24 02:56:38 -0400 | |
---|---|---|
committer | 2011-10-24 02:56:38 -0400 | |
commit | 7cc9150ebe8ec06cafea9f1c10d92ddacf88d8ae (patch) | |
tree | 0820f1a9de3a2b1a81913550056518c21950e7f8 /fs/proc/array.c | |
parent | net: hold sock reference while processing tx timestamps (diff) | |
download | wireguard-linux-7cc9150ebe8ec06cafea9f1c10d92ddacf88d8ae.tar.xz wireguard-linux-7cc9150ebe8ec06cafea9f1c10d92ddacf88d8ae.zip |
route: fix ICMP redirect validation
The commit f39925dbde7788cfb96419c0f092b086aa325c0f
(ipv4: Cache learned redirect information in inetpeer.)
removed some ICMP packet validations which are required by
RFC 1122, section 3.2.2.2:
...
A Redirect message SHOULD be silently discarded if the new
gateway address it specifies is not on the same connected
(sub-) net through which the Redirect arrived [INTRO:2,
Appendix A], or if the source of the Redirect is not the
current first-hop gateway for the specified destination (see
Section 3.3.1).
Signed-off-by: Flavio Leitner <fbl@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions