1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00
freebsd/sys/opencrypto
Benno Rice 109919c67a Prevent races in accesses of the software crypto session array.
swcr_newsession can change the pointer for swcr_sessions which races with
swcr_process which is looking up entries in this array.

Add a rwlock that protects changes to the array pointer so that
swcr_newsession and swcr_process no longer race.

Original patch by:	Steve O'Hara-Smith <Steve.OHaraSmith@isilon.com>
Reviewed by:		jmg
Sponsored by:		EMC / Isilon Storage Division
2014-01-28 22:02:29 +00:00
..
cast.c
cast.h
castsb.h
criov.c
crypto.c
cryptodeflate.c Fix build with 'crypto' and 'zfs' in the same kernel. This was the path 2013-12-08 21:59:46 +00:00
cryptodev_if.m
cryptodev.c
cryptodev.h
cryptosoft.c Prevent races in accesses of the software crypto session array. 2014-01-28 22:02:29 +00:00
cryptosoft.h
deflate.h
rmd160.c
rmd160.h
skipjack.c
skipjack.h
xform.c
xform.h