CVSROOT: /cvs Module name: src Changes by: step...@cvs.openbsd.org 2010/08/19 04:48:53
Modified files: sys/dev/ic : Tag: OPENBSD_4_7 gdt_common.c Log message: MFC, original commits from a) krw@: ---------------------------------------------------------------------- Fix two problems in gdt, introduced in 4.7. Eliminate a use-after-free of xs for xs->flags. Avoid calling scsi_done() twice when sync'ing disks during shut down. scsi_done() problem found by Federico Giannici. Feedback and fixes from matthew@ and d...@. Testing of various versions by Federico and sthen@ via Pierre Berthier. ok matthew@ deraadt@ ---------------------------------------------------------------------- .. and b) matthew@: ---------------------------------------------------------------------- Initialize xs to NULL in gdt_intr() since it now might be used before otherwise assigned. ok krw@ ---------------------------------------------------------------------- ok matthew@ and krw@, re-tested by me.