summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nmtree/Makefile
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2013-04-08 23:16:42 +0000
committerwill <will@FreeBSD.org>2013-04-08 23:16:42 +0000
commit528b271d19c1d99c4810f13ed1b36d4c80383306 (patch)
tree7d4ff2c0ef2443026a6d5a7ffba5cc59f268fc07 /usr.sbin/nmtree/Makefile
parent74834df233e9efeb8a4329be847e94307006b641 (diff)
downloadFreeBSD-src-528b271d19c1d99c4810f13ed1b36d4c80383306.zip
FreeBSD-src-528b271d19c1d99c4810f13ed1b36d4c80383306.tar.gz
FireWire: Don't allow a tlabel to reference an xfer after free.
sys/dev/firewire/firewire.c: - fw_xfer_unload(): Since we are about to free this xfer, call fw_tl_free() to remove the xfer from its tlabel's list, if it has a tlabel. - In every occasion when a xfer is removed from a tlabel's list, reset xfer->tl to -1 while holding fc->tlabel_lock, so that the xfer isn't mis-identified as belonging to a tlabel. This doesn't fix all the use-after-free problems for M_FWMEM, but is an incremental towards that goal. Reviewed by: kan, sbruno Sponsored by: Spectra Logic
Diffstat (limited to 'usr.sbin/nmtree/Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud