Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jun 2003 17:09:02 -0700 (PDT)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/opencrypto crypto.c cryptodev.c cryptodev.h
Message-ID:  <200306030009.h53092UJ011102@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306030009.h53092UJ011102>