linux_dsm_epyc7002/drivers/crypto/chelsio
Stephen Kitt f426faac80 crypto: chelsio - remove extra allocation for chtls_dev
chtls_uld_add allocates room for info->nports net_device structs
following the chtls_dev struct, presumably because it was originally
intended that the ports array would be stored there. This is suggested
by the assignment which was present in initial versions and removed by
c4e848586c ("crypto: chelsio - remove redundant assignment to
cdev->ports"):

	cdev->ports = (struct net_device **)(cdev + 1);

This assignment was never used, being overwritten by lldi->ports
immediately afterwards, and I couldn't find any uses of the memory
allocated past the end of the struct.

Signed-off-by: Stephen Kitt <steve@sk2.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2020-02-22 09:25:41 +08:00
..
chtls crypto: chelsio - remove extra allocation for chtls_dev 2020-02-22 09:25:41 +08:00
chcr_algo.c crypto: chelsio - This fixes the kernel panic which occurs during a libkcapi test 2020-02-13 17:05:26 +08:00
chcr_algo.h
chcr_core.c crypto: chelsio - Print the chcr driver information while module load. 2020-02-13 17:05:26 +08:00
chcr_core.h crypto: chelsio - Print the chcr driver information while module load. 2020-02-13 17:05:26 +08:00
chcr_crypto.h
chcr_ipsec.c
Kconfig
Makefile