diff options
| author | John-Mark Gurney <jmg@FreeBSD.org> | 2014-03-11 01:41:09 +0000 |
|---|---|---|
| committer | John-Mark Gurney <jmg@FreeBSD.org> | 2014-03-11 01:41:09 +0000 |
| commit | 1bf557366c770391a2e864bd68358039412735fd (patch) | |
| tree | dd3af4fa449439783385580041856a9cd1263dd3 /sys/opencrypto/cryptosoft.c | |
| parent | 801a8f949794563630ff433d1942f27c6fa36ebf (diff) | |
Notes
Diffstat (limited to 'sys/opencrypto/cryptosoft.c')
| -rw-r--r-- | sys/opencrypto/cryptosoft.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/opencrypto/cryptosoft.c b/sys/opencrypto/cryptosoft.c index 4095e8932015..a0875ff5ac54 100644 --- a/sys/opencrypto/cryptosoft.c +++ b/sys/opencrypto/cryptosoft.c @@ -1003,7 +1003,7 @@ swcr_process(device_t dev, struct cryptop *crp, int hint) goto done; } - lid = crp->crp_sid & 0xffffffff; + lid = CRYPTO_SESID2LID(crp->crp_sid); rw_rlock(&swcr_sessions_lock); if (swcr_sessions == NULL || lid >= swcr_sesnum || lid == 0 || swcr_sessions[lid] == NULL) { |
