diff options
author | Flavio Leitner <fbl@redhat.com> | 2011-10-24 08:56:38 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-10-24 08:56:38 +0200 |
commit | 7cc9150ebe8ec06cafea9f1c10d92ddacf88d8ae (patch) | |
tree | 0820f1a9de3a2b1a81913550056518c21950e7f8 /drivers/net | |
parent | net: hold sock reference while processing tx timestamps (diff) | |
download | linux-7cc9150ebe8ec06cafea9f1c10d92ddacf88d8ae.tar.xz 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 'drivers/net')
0 files changed, 0 insertions, 0 deletions