summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2018-09-04 19:09:39 +0000
committerbluhm <bluhm@openbsd.org>2018-09-04 19:09:39 +0000
commit1d5480e517264458d24982eb4ee20c0055b2860c (patch)
tree2c733bc4314c37b2e07b2f6de01c4546e9a03b0b /lib
parentremove useless session flag (diff)
downloadwireguard-openbsd-1d5480e517264458d24982eb4ee20c0055b2860c.tar.xz
wireguard-openbsd-1d5480e517264458d24982eb4ee20c0055b2860c.zip
Avoid traversing the list of fragment entris to check whether the
pf(4) reassembly is complete. Instead count the holes that are created when inserting a fragment. If there are no holes left, the fragments are continuous. idea from claudio@; OK claudio@ sashan@
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions