diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2023-11-28 18:29:19 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-11-29 20:16:14 -0800 |
commit | 50468cddd6bc27e75e7377e376674d40fd1b1d73 (patch) | |
tree | 6d5858b50b78b9e5951f4a9ba1dc30aec7fb814d /net/core/of_net.c | |
parent | 45c28509fee6b4c867374b83c5b9e10dac245988 (diff) | |
download | linux-50468cddd6bc27e75e7377e376674d40fd1b1d73.tar.gz linux-50468cddd6bc27e75e7377e376674d40fd1b1d73.tar.bz2 linux-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 <kuniyu@amazon.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20231129022924.96156-4-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/of_net.c')
0 files changed, 0 insertions, 0 deletions