summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2014-01-29 00:50:56 +0000
committerdlg <dlg@openbsd.org>2014-01-29 00:50:56 +0000
commite38fb13170ba1661ee1d472e1012f65d852e0220 (patch)
tree76921f1c7b54f5482c9024202508ef8a9597af01 /lib/libc
parentIn the experimental, never-enabled JPAKE code: clear returned digest and (diff)
downloadwireguard-openbsd-e38fb13170ba1661ee1d472e1012f65d852e0220.tar.xz
wireguard-openbsd-e38fb13170ba1661ee1d472e1012f65d852e0220.zip
move the allocation of the mbuf copy to use for sending icmp errors
above the reroute label that pf uses after it does dest addr rewriting on outgoing packets. previously rerouting caused an extra copy to be allocated, which caused the first copy to be leaked. this has been bugging me for over half a year probably. after i got some rudimental mbuf tracing in place it took me and alex wilson most of a work day to audit the stack. ok claudio@ on an earlier diff ok mpi@, who made my first diff better and was gracious enough to let me commit his because of the pain id been through finding this leak. ok pelikan@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions