Files
linux/drivers/net/ethernet/sfc
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
..
2020-11-13 15:33:30 -08:00
2020-09-21 13:55:13 -07:00
2020-08-14 14:07:16 -07:00
2021-04-14 13:55:07 -07:00
2020-09-11 17:15:22 -07:00
2020-09-11 17:15:22 -07:00
2020-09-07 14:46:13 -07:00
2020-09-25 16:29:00 -07:00
2020-09-11 17:15:22 -07:00
2020-09-11 17:15:22 -07:00
2020-09-11 17:15:22 -07:00