diff options
author | Luiz Otavio O Souza <luiz@netgate.com> | 2015-09-15 16:03:46 -0500 |
---|---|---|
committer | Luiz Otavio O Souza <luiz@netgate.com> | 2015-10-20 12:05:09 -0500 |
commit | 403a3f33c237726c495f6776033f4f5d21325f81 (patch) | |
tree | e46bfb455cf3d76b790da361ec9da5a605c55702 /usr.bin/ar | |
parent | d85aff53b0c0e63014bd989f48f567f44ca52ce9 (diff) | |
download | FreeBSD-src-403a3f33c237726c495f6776033f4f5d21325f81.zip FreeBSD-src-403a3f33c237726c495f6776033f4f5d21325f81.tar.gz |
MFC r285096:
Reduce overhead of IPSEC for traffic generated from host
When IPSEC is enabled on the kernel the forwarding path has an optimization to not enter the code paths
for checking security policies but first checks if there is any security policy active at all.
The patch introduces the same optimization but for traffic generated from the host itself.
This reduces the overhead by 50% on my tests for generated host traffic without and SP active.
Differential Revision: https://reviews.freebsd.org/D2980
Reviewed by: ae, gnn
Approved by: gnn(mentor)
TAG: IPSEC-HEAD
Issue: #4841
Diffstat (limited to 'usr.bin/ar')
0 files changed, 0 insertions, 0 deletions