diff options
author | Flavio Leitner <fbl@redhat.com> | 2011-10-24 02:56:38 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-10-24 02:56:38 -0400 |
commit | 7cc9150ebe8ec06cafea9f1c10d92ddacf88d8ae (patch) | |
tree | 0820f1a9de3a2b1a81913550056518c21950e7f8 /ipc | |
parent | da92b194cc36b5dc1fbd85206aeeffd80bee0c39 (diff) |
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 'ipc')
0 files changed, 0 insertions, 0 deletions