mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-14 06:35:12 +00:00
6d872df3e3
dev->gso_max_segs is written under RTNL protection, or when the device is not yet visible, but is read locklessly. Add netif_set_gso_max_segs() helper. Add the READ_ONCE()/WRITE_ONCE() pairs, and use netif_set_gso_max_segs() where we can to better document what is going on. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
falcon | ||
bitfield.h | ||
ef10.c | ||
ef10_regs.h | ||
ef10_sriov.c | ||
ef10_sriov.h | ||
ef100.c | ||
ef100.h | ||
ef100_ethtool.c | ||
ef100_ethtool.h | ||
ef100_netdev.c | ||
ef100_netdev.h | ||
ef100_nic.c | ||
ef100_nic.h | ||
ef100_regs.h | ||
ef100_rx.c | ||
ef100_rx.h | ||
ef100_tx.c | ||
ef100_tx.h | ||
efx.c | ||
efx.h | ||
efx_channels.c | ||
efx_channels.h | ||
efx_common.c | ||
efx_common.h | ||
enum.h | ||
ethtool.c | ||
ethtool_common.c | ||
ethtool_common.h | ||
farch.c | ||
farch_regs.h | ||
filter.h | ||
io.h | ||
Kconfig | ||
Makefile | ||
mcdi.c | ||
mcdi.h | ||
mcdi_filters.c | ||
mcdi_filters.h | ||
mcdi_functions.c | ||
mcdi_functions.h | ||
mcdi_mon.c | ||
mcdi_pcol.h | ||
mcdi_port.c | ||
mcdi_port.h | ||
mcdi_port_common.c | ||
mcdi_port_common.h | ||
mtd.c | ||
net_driver.h | ||
nic.c | ||
nic.h | ||
nic_common.h | ||
ptp.c | ||
ptp.h | ||
rx.c | ||
rx_common.c | ||
rx_common.h | ||
selftest.c | ||
selftest.h | ||
siena.c | ||
siena_sriov.c | ||
siena_sriov.h | ||
sriov.c | ||
sriov.h | ||
tx.c | ||
tx.h | ||
tx_common.c | ||
tx_common.h | ||
tx_tso.c | ||
vfdi.h | ||
workarounds.h |