Flavio Leitner 7cc9150ebe 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>
2011-10-24 02:56:38 -04:00
..
2011-04-22 11:04:14 -07:00
2011-07-26 16:49:47 -07:00
2011-04-22 11:04:14 -07:00
2011-03-12 15:08:49 -08:00
2011-07-23 20:06:00 -07:00
2011-07-21 13:47:54 -07:00
2011-05-12 23:03:46 -04:00
2011-07-01 16:11:15 -07:00
2011-02-01 15:35:25 -08:00
2011-10-24 02:56:38 -04:00
2011-06-08 17:05:30 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-07-07 00:27:05 -07:00
2010-10-27 11:37:32 -07:00
2010-07-12 12:57:54 -07:00