diff options
author | 2011-01-20 15:03:03 +0000 | |
---|---|---|
committer | 2011-01-20 15:03:03 +0000 | |
commit | ca040a55b10a7a27b7c04715e4e2c1305a71f97e (patch) | |
tree | 3653801022114e2482b17d016ff60056808d84aa /lib | |
parent | more double word removal; (diff) | |
download | wireguard-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