mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-06 13:55:08 +08: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> |
||
---|---|---|
.. | ||
8139cp.c | ||
8139too.c | ||
atp.c | ||
atp.h | ||
Kconfig | ||
Makefile | ||
r8169_firmware.c | ||
r8169_firmware.h | ||
r8169_main.c | ||
r8169_phy_config.c | ||
r8169.h |