mirror of
https://github.com/torvalds/linux
synced 2024-10-19 17:58:44 +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> |
||
---|---|---|
.. | ||
ipvlan.h | ||
ipvlan_core.c | ||
ipvlan_l3s.c | ||
ipvlan_main.c | ||
ipvtap.c | ||
Makefile |