diff options
author | ae <ae@FreeBSD.org> | 2014-12-11 14:43:44 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2014-12-11 14:43:44 +0000 |
commit | 1cca983d1bb1daccc62e83498b3dc3f64d78aef0 (patch) | |
tree | 319a7336180d67caabf22565f7b39e9911a07a71 /contrib/llvm/tools/clang/lib/CodeGen/TargetInfo.cpp | |
parent | 13d48a81ec2cda62154a8967078e87a03b155389 (diff) | |
download | FreeBSD-src-1cca983d1bb1daccc62e83498b3dc3f64d78aef0.zip FreeBSD-src-1cca983d1bb1daccc62e83498b3dc3f64d78aef0.tar.gz |
Remove check for presence of PACKET_TAG_IPSEC_PENDING_TDB and
PACKET_TAG_IPSEC_OUT_CRYPTO_NEEDED mbuf tags. They aren't used in FreeBSD.
Instead check presence of PACKET_TAG_IPSEC_OUT_DONE mbuf tag. If it
is found, bypass security policy lookup as described in the comment.
PACKET_TAG_IPSEC_OUT_DONE tag added to mbuf when IPSEC code finishes
ESP/AH processing. Since it was already finished, this means the security
policy placed in the tdb_ident was already checked. And there is no reason
to check it again here.
Obtained from: Yandex LLC
Sponsored by: Yandex LLC
Diffstat (limited to 'contrib/llvm/tools/clang/lib/CodeGen/TargetInfo.cpp')
0 files changed, 0 insertions, 0 deletions