net: Fix data-races around netdev_max_backlog.
While reading netdev_max_backlog, it can be changed concurrently. Thus, we need to add READ_ONCE() to its readers. While at it, we remove the unnecessary spaces in the doc. Fixes: 1da177e4 ("Linux-2.6.12-rc2") Signed-off-by:Kuniyuki Iwashima <kuniyu@amazon.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- Documentation/admin-guide/sysctl/net.rst 1 addition, 1 deletionDocumentation/admin-guide/sysctl/net.rst
- net/core/dev.c 2 additions, 2 deletionsnet/core/dev.c
- net/core/gro_cells.c 1 addition, 1 deletionnet/core/gro_cells.c
- net/xfrm/espintcp.c 1 addition, 1 deletionnet/xfrm/espintcp.c
- net/xfrm/xfrm_input.c 1 addition, 1 deletionnet/xfrm/xfrm_input.c
Loading