freebsd-dev/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 - For kernel compiled only with KDTRACE_HOOKS and not any lock debugging 2013-11-25 07:38:45 +00:00
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 Make sendfile() a method in the struct fileops. Currently only 2013-08-15 07:54:31 +00:00
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 When porting XTS-related code from OpenBSD I forgot to update copyright (only 2013-02-20 22:59:53 +00:00
xform.h