summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2011-01-20 15:03:03 +0000
committerbluhm <bluhm@openbsd.org>2011-01-20 15:03:03 +0000
commitca040a55b10a7a27b7c04715e4e2c1305a71f97e (patch)
tree3653801022114e2482b17d016ff60056808d84aa /lib
parentmore double word removal; (diff)
downloadwireguard-openbsd-ca040a55b10a7a27b7c04715e4e2c1305a71f97e.tar.xz
wireguard-openbsd-ca040a55b10a7a27b7c04715e4e2c1305a71f97e.zip
The reason accounting in pf_reassemble() was not correct. Change
pf_reassemble() to return PF_DROP or PF_PASS and *m0 is NULL or the reassembled packet. In case of PF_DROP, the mbuf must be valid, e.g. for logging, and will be freed later. In case the reassembled packet is too big, use the reassembled mbuf for PF_DROP. ok henning@ markus@
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions