mirror_ubuntu-kernels/drivers/net/ethernet
Tom Seewald 659fbdcf2f cxgb4: Fix build failure when CONFIG_TLS=m
After commit 9d2e5e9eeb ("cxgb4/ch_ktls: decrypted bit is not enough")
whenever CONFIG_TLS=m and CONFIG_CHELSIO_T4=y, the following build
failure occurs:

ld: drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.o: in function
`cxgb_select_queue':
cxgb4_main.c:(.text+0x2dac): undefined reference to `tls_validate_xmit_skb'

Fix this by ensuring that if TLS is set to be a module, CHELSIO_T4 will
also be compiled as a module. As otherwise the cxgb4 driver will not be
able to access TLS' symbols.

Fixes: 9d2e5e9eeb ("cxgb4/ch_ktls: decrypted bit is not enough")
Signed-off-by: Tom Seewald <tseewald@gmail.com>
Link: https://lore.kernel.org/r/20201120192528.615-1-tseewald@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-11-21 13:10:18 -08:00
..
3com networking changes for the 5.10 merge window 2020-10-15 18:42:13 -07:00
8390
adaptec
aeroflex
agere
alacritech
allwinner
alteon
altera
amazon
amd networking changes for the 5.10 merge window 2020-10-15 18:42:13 -07:00
apm
apple
aquantia net: remove unneeded break 2020-10-20 10:28:21 -07:00
arc
atheros atl1e: fix error return code in atl1e_probe() 2020-11-18 11:02:15 -08:00
aurora
broadcom bnxt_en: Release PCI regions when DMA mask setup fails during probe. 2020-11-20 10:09:09 -08:00
brocade
cadence cadence: force nonlinear buffers to be cloned 2020-10-31 17:01:10 -07:00
calxeda
cavium net: thunderx: Use struct_size() helper in kmalloc() 2020-10-10 10:34:03 -07:00
chelsio cxgb4: Fix build failure when CONFIG_TLS=m 2020-11-21 13:10:18 -08:00
cirrus
cisco net: remove unneeded break 2020-10-20 10:28:21 -07:00
cortina
davicom
dec
dlink
emulex
ezchip
faraday net: ftgmac100: Fix crash when removing driver 2020-11-17 10:59:03 -08:00
freescale dpaa2-eth: select XGMAC_MDIO for MDIO bus support 2020-11-20 15:21:54 -08:00
fujitsu
google gve: Replace zero-length array with flexible-array member 2020-10-30 16:57:41 -05:00
hisilicon net: hns3: Clear the CMDQ registers before unmapping BAR region 2020-10-26 20:25:04 -07:00
huawei
i825xx
ibm powerpc/vnic: Extend "failover pending" window 2020-11-02 16:54:04 -08:00
intel igc: Fix returning wrong statistics 2020-11-10 15:03:14 -08:00
marvell net: mvneta: fix possible memory leak in mvneta_swbm_add_rx_fragment 2020-11-16 16:30:50 -08:00
mediatek net: ethernet: mtk-star-emac: fix error return code in mtk_star_enable() 2020-11-12 17:58:37 -08:00
mellanox net/mlx4_core: Fix init_hca fields offset 2020-11-18 17:46:20 -08:00
micrel
microchip lan743x: prevent entire kernel HANG on open, for some platforms 2020-11-14 15:25:12 -08:00
moxa
mscc net: mscc: ocelot: remove duplicate ocelot_port_dev_check 2020-10-13 17:04:43 -07:00
myricom
natsemi
neterion
netronome
ni
nvidia
nxp
oki-semi
packetengines
pasemi
pensando ionic: check port ptr before use 2020-11-05 09:58:25 -08:00
qlogic qed: fix ILT configuration of SRC block 2020-11-17 16:35:32 -08:00
qualcomm net: qualcomm: rmnet: Fix incorrect receive packet handling during cleanup 2020-11-16 16:34:49 -08:00
rdc
realtek r8169: disable hw csum for short packets on all chip versions 2020-11-07 12:14:35 -08:00
renesas ravb: Fix bit fields checking in ravb_hwtstamp_get() 2020-10-27 17:14:33 -07:00
rocker
samsung
seeq
sfc sfc: move initialisation of efx->filter_sem to efx_init_struct() 2020-10-20 21:22:23 -07:00
sgi
silan
sis
smsc
socionext netsec: ignore 'phy-mode' device property on ACPI systems 2020-10-20 15:59:43 -07:00
stmicro net: stmmac: Use rtnl_lock/unlock on netif_set_real_num_rx_queues() call 2020-11-16 16:12:36 -08:00
sun networking changes for the 5.10 merge window 2020-10-15 18:42:13 -07:00
synopsys
tehuti
ti net: ethernet: ti: cpsw: fix error return code in cpsw_probe() 2020-11-16 15:37:28 -08:00
toshiba
tundra
via
wiznet
xilinx
xircom
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig
korina.c net: korina: cast KSEG0 address to pointer in kfree 2020-10-19 17:00:00 -07:00
lantiq_etop.c
lantiq_xrx200.c
Makefile