diff options
author | 2017-03-13 14:33:33 +0000 | |
---|---|---|
committer | 2017-03-13 14:33:33 +0000 | |
commit | 2d5ff022615f8a7c40a74378d8e744646b9d2728 (patch) | |
tree | e0432231bf87439f1ec7f39c102663ca8944f89f /sys/netinet/tcp_usrreq.c | |
parent | We need to call policy_ref() for policies that have refcounting (diff) | |
download | wireguard-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