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

  FreeBSD src repository

  Modified files:
    sys/dev/amr          amr.c amr_pci.c amrvar.h 
  Log:
  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
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to