]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r333497:
authorae <ae@FreeBSD.org>
Fri, 18 May 2018 10:17:13 +0000 (10:17 +0000)
committerae <ae@FreeBSD.org>
Fri, 18 May 2018 10:17:13 +0000 (10:17 +0000)
commit52e95f9ad552da8d021dd40fafafeb9c1135f0d7
tree6d15fd56072594eca319f90f7e5cac1ce9e6adc3
parent7dc8094aa2ba371ed6a605a99e00ca89b0f190db
MFC r333497:
  Apply the change from r272770 to if_ipsec(4) interface.

  It is guaranteed that if_ipsec(4) interface is used only for tunnel
  mode IPsec, i.e. decrypted and decapsulated packet has its own IP header.
  Thus we can consider it as new packet and clear the protocols flags.
  This allows ICMP/ICMPv6 properly handle errors that may cause this packet.

  PR: 228108
Approved by: re (kib)
sys/net/if_ipsec.c