linux-stable/drivers/net/bonding
Eric Dumazet 6d872df3e3 net: annotate accesses to dev->gso_max_segs
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>
2021-11-22 12:49:42 +00:00
..
bond_3ad.c bonding: 3ad: pass parameter bond_params by reference 2021-09-07 10:28:50 +01:00
bond_alb.c net: bonding: constify and use dev_addr_set() 2021-10-24 13:59:44 +01:00
bond_debugfs.c net: bonding: remove unnecessary braces 2021-05-20 15:43:24 -07:00
bond_main.c net: annotate accesses to dev->gso_max_segs 2021-11-22 12:49:42 +00:00
bond_netlink.c bonding: add new option lacp_active 2021-08-03 11:50:22 +01:00
bond_options.c bonding: add new option lacp_active 2021-08-03 11:50:22 +01:00
bond_procfs.c bonding: add new option lacp_active 2021-08-03 11:50:22 +01:00
bond_sysfs.c bonding: use the correct function to check for netdev name collision 2021-10-08 17:02:34 +01:00
bond_sysfs_slave.c bonding: Fix a use-after-free problem when bond_sysfs_slave_add() failed 2021-11-05 10:14:38 +00:00
bonding_priv.h drivers: Remove inclusion of vermagic header 2020-04-21 13:27:37 -07:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00