aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2023-11-29 02:29:19 +0000
committerJakub Kicinski <[email protected]>2023-11-30 04:16:14 +0000
commit50468cddd6bc27e75e7377e376674d40fd1b1d73 (patch)
tree6d5858b50b78b9e5951f4a9ba1dc30aec7fb814d /net/unix/unix_bpf.c
parenttcp: Cache sock_net(sk) in cookie_v[46]_check(). (diff)
downloadkernel-50468cddd6bc27e75e7377e376674d40fd1b1d73.tar.gz
kernel-50468cddd6bc27e75e7377e376674d40fd1b1d73.zip
tcp: Clean up goto labels in cookie_v[46]_check().
We will support arbitrary SYN Cookie with BPF, and then reqsk will be preallocated before cookie_v[46]_check(). Depending on how validation fails, we send RST or just drop skb. To make the error handling easier, let's clean up goto labels. Signed-off-by: Kuniyuki Iwashima <[email protected]> Reviewed-by: Simon Horman <[email protected]> Reviewed-by: Eric Dumazet <[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