diff options
| author | Sam Leffler <sam@FreeBSD.org> | 2003-06-27 20:07:10 +0000 |
|---|---|---|
| committer | Sam Leffler <sam@FreeBSD.org> | 2003-06-27 20:07:10 +0000 |
| commit | 07d0c94a4621a47d1b967e5c7cc7c17f26812f95 (patch) | |
| tree | abc501f01c8b5f6abaa2809bc2c82a2c09eaf55e /sys/dev/ubsec | |
| parent | 23252eeabe2b8e19d509f9ff49d995def75481ae (diff) | |
Notes
Diffstat (limited to 'sys/dev/ubsec')
| -rw-r--r-- | sys/dev/ubsec/ubsec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ubsec/ubsec.c b/sys/dev/ubsec/ubsec.c index 26d415b63387..6f62982d813c 100644 --- a/sys/dev/ubsec/ubsec.c +++ b/sys/dev/ubsec/ubsec.c @@ -974,7 +974,7 @@ ubsec_freesession(void *arg, u_int64_t tid) { struct ubsec_softc *sc = arg; int session, ret; - u_int32_t sid = ((u_int32_t) tid) & 0xffffffff; + u_int32_t sid = CRYPTO_SESID2LID(tid); if (sc == NULL) return (EINVAL); |
