diff options
| author | Kuniyuki Iwashima <[email protected]> | 2023-11-29 02:29:23 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-11-30 04:16:34 +0000 |
| commit | de5626b95e13a054aa80f890f2a774d2fc18d855 (patch) | |
| tree | bb01ba32476e0eba24a24207670a05997f0236e4 /net/unix/unix_bpf.c | |
| parent | tcp: Move TCP-AO bits from cookie_v[46]_check() to tcp_ao_syncookie(). (diff) | |
| download | kernel-de5626b95e13a054aa80f890f2a774d2fc18d855.tar.gz kernel-de5626b95e13a054aa80f890f2a774d2fc18d855.zip | |
tcp: Factorise cookie-independent fields initialisation in cookie_v[46]_check().
We will support arbitrary SYN Cookie with BPF, and then some reqsk fields
are initialised in kfunc, and others are done in cookie_v[46]_check().
This patch factorises the common part as cookie_tcp_reqsk_init() and
calls it in cookie_tcp_reqsk_alloc() to minimise the discrepancy between
cookie_v[46]_check().
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
