ae 8e6349d4bc Remove PACKET_TAG_IPSEC_IN_DONE mbuf tag lookup and usage of its
security policy. The changed block of code in ip*_ipsec_input() is
called when packet has ESP/AH header. Presence of
PACKET_TAG_IPSEC_IN_DONE mbuf tag in the same time means that
packet was already handled by IPSEC and reinjected in the netisr,
and it has another ESP/AH headers (encrypted twice?).
Since it was already processed by IPSEC code, the AH/ESP headers
was already stripped (and probably outer IP header was stripped too)
and security policy from the tdb_ident was applied to those headers.
It is incorrect to apply this security policy to current headers.

Also make ip_ipsec_input() prototype similar to ip6_ipsec_input().

Obtained from:	Yandex LLC
Sponsored by:	Yandex LLC
2014-12-11 14:58:55 +00:00
..
2014-12-08 06:04:42 +00:00
2014-12-10 11:21:52 +00:00
2014-11-28 04:07:06 +00:00
2014-10-12 18:01:52 +00:00
2014-12-09 14:56:00 +00:00
2014-09-25 19:10:32 +00:00
2014-12-10 20:23:19 +00:00
2014-11-23 12:01:52 +00:00
2014-09-23 06:32:19 +00:00