diff options
author | Eric Dumazet <[email protected]> | 2023-02-27 08:33:36 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-02-27 11:59:29 -0800 |
commit | 580f98cc33a260bb8c6a39ae2921b29586b84fdf (patch) | |
tree | ef2eab5f3e3a3cd60992ce51a8b8abff49e60ab9 /net/unix/unix_bpf.c | |
parent | 972074ea88402e9b1b29c3a8d3d6d1aadaff624e (diff) |
tcp: tcp_check_req() can be called from process context
This is a follow up of commit 0a375c822497 ("tcp: tcp_rtx_synack()
can be called from process context").
Frederick Lawler reported another "__this_cpu_add() in preemptible"
warning caused by the same reason.
In my former patch I took care of tcp_rtx_synack()
but forgot that tcp_check_req() also contained some SNMP updates.
Note that some parts of tcp_check_req() always run in BH context,
I added a comment to clarify this.
Fixes: 8336886f786f ("tcp: TCP Fast Open Server - support TFO listeners")
Link: https://lore.kernel.org/netdev/[email protected]/T/
Signed-off-by: Eric Dumazet <[email protected]>
Reported-by: Frederick Lawler <[email protected]>
Tested-by: Frederick Lawler <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions