cvs commit: src/sys/opencrypto crypto.c cryptodev.c cryptodev.h

Sam Leffler sam at FreeBSD.org
Mon Jun 2 17:09:04 PDT 2003


sam         2003/06/02 17:09:02 PDT

  FreeBSD src repository

  Modified files:        (Branch: RELENG_4)
    sys/opencrypto       crypto.c cryptodev.c cryptodev.h 
  Log:
  o add a ``done'' flag for crypto operations; this is set when the operation
    completes and is intended for callers to check operations that may complete
    ``prematurely'' because of direct callbacks
  o correct crypto_dispatch's handling of operations where the driver returns
    ERESTART: the return value must be zero and not ERESTART, otherwise the
    caller may free the crypto request prematurely (fixes panic for ops submitted
    through /dev/crypto)
  
  Revision  Changes    Path
  1.4.2.7   +4 -0      src/sys/opencrypto/crypto.c
  1.4.2.4   +1 -1      src/sys/opencrypto/cryptodev.c
  1.2.2.5   +1 -0      src/sys/opencrypto/cryptodev.h


More information about the cvs-src mailing list