diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2022-08-23 20:46:58 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-08-24 15:46:58 +0300 |
commit | 8db24af3f02ebdbf302196006ebb270c4c3a2706 (patch) | |
tree | de9bc7668e1523979c789b5cfe6ea578b10967ca /.clang-format | |
parent | a5612ca10d1aa05624ebe72633e0c8c792970833 (diff) | |
download | linux-8db24af3f02ebdbf302196006ebb270c4c3a2706.tar.xz |
net: Fix a data-race around gro_normal_batch.
While reading gro_normal_batch, it can be changed concurrently.
Thus, we need to add READ_ONCE() to its reader.
Fixes: 323ebb61e32b ("net: use listified RX for handling GRO_NORMAL skbs")
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Acked-by: Edward Cree <ecree.xilinx@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions