summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/monitor_wrap.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2014-01-29 00:50:57 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2014-01-29 00:50:57 +0000
commit6254cf129c2cb2854ee39da6104601af3f31a20d (patch)
tree54af2664c114432559533008f35265d01d0ac36a /usr.bin/ssh/monitor_wrap.c
parent6f2f577e67f063bae945ce3d6f78c267d9152a7b (diff)
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 'usr.bin/ssh/monitor_wrap.c')
0 files changed, 0 insertions, 0 deletions