cvs commit: src/sys/dev/amr amr.c amr_pci.c amrvar.h

Scott Long scottl at
Sat Apr 8 05:08:18 UTC 2006

scottl      2006-04-08 05:08:17 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/amr          amr.c amr_pci.c amrvar.h 
  After further review and discussion, partially revert the previous commit.
  The real problem was that ioctl handlers needed to call amr_wait_command()
  with the list lock held.  This not only solves the completion race, it also
  prevents bounce buffer corruption that could arise from amr_start() being
  called without the proper locks held.
  Discussed with: ps
  MFC After: 3 days
  Revision  Changes    Path
  1.77      +13 -18    src/sys/dev/amr/amr.c
  1.36      +0 -1      src/sys/dev/amr/amr_pci.c
  1.32      +0 -1      src/sys/dev/amr/amrvar.h

More information about the cvs-src mailing list