summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_usrreq.c
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2017-03-13 14:33:33 +0000
committerpatrick <patrick@openbsd.org>2017-03-13 14:33:33 +0000
commit2d5ff022615f8a7c40a74378d8e744646b9d2728 (patch)
treee0432231bf87439f1ec7f39c102663ca8944f89f /sys/netinet/tcp_usrreq.c
parentWe need to call policy_ref() for policies that have refcounting (diff)
downloadwireguard-openbsd-2d5ff022615f8a7c40a74378d8e744646b9d2728.tar.xz
wireguard-openbsd-2d5ff022615f8a7c40a74378d8e744646b9d2728.zip
flow_cmp() must compare the same flow-attributes as the kernel,
otherwise we never can keep the in-daemon and the in-kernel idea of flows in sync and iked ends up deleting flows that are still in use. Make use of flow_cmp() and a new flow_equal() instead of handcrafting the compare in an if. ok markus@ reyk@
Diffstat (limited to 'sys/netinet/tcp_usrreq.c')
0 files changed, 0 insertions, 0 deletions