summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_socket.c
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2017-03-13 15:06:51 +0000
committerpatrick <patrick@openbsd.org>2017-03-13 15:06:51 +0000
commit1a394ec9e9a36f4f4fcaf884df38387d7809ff99 (patch)
tree30a8f07b693b361042c1f8d6ef21e148f1de7e09 /sys/kern/uipc_socket.c
parentWhen freeing a Child SA make sure it's peer no longer points to it (diff)
downloadwireguard-openbsd-1a394ec9e9a36f4f4fcaf884df38387d7809ff99.tar.xz
wireguard-openbsd-1a394ec9e9a36f4f4fcaf884df38387d7809ff99.zip
When setting up IPcomp flows for the networks 'A' and 'B' between
gateways 'a' and 'b', we replace the ESP flow "A->B ESP" with an IPCOMP flow "A->B IPCOMP" and add a matching (transport mode) ESP flow between the gateways "a->b ESP". The later is now marked with flow_ipcomp so it is not translated into "a->b IPCOMP" on rekeying. When SAs get deleted we do an extra loop to figure out if matching IPcomp SAs can now be removed, too. This allows faster expiry of unused IPcomp SAs. Disable bytes lifetime for IP compression. ok markus@ reyk@
Diffstat (limited to 'sys/kern/uipc_socket.c')
0 files changed, 0 insertions, 0 deletions