diff options
author | Dmitry Safonov <dima@arista.com> | 2023-10-23 22:22:00 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-10-27 12:35:44 +0300 |
commit | ba7783ad45c8f0fb7a70640f6b6fcdc54ed48412 (patch) | |
tree | d1016114d1af5b859e395479b06ff836e5e4496f /include/net/tcp.h | |
parent | f7dca36fc54afa2eb76bff8d0589a2ef18caea91 (diff) | |
download | linux-ba7783ad45c8f0fb7a70640f6b6fcdc54ed48412.tar.xz |
net/tcp: Add AO sign to RST packets
Wire up sending resets to TCP-AO hashing.
Co-developed-by: Francesco Ruggeri <fruggeri@arista.com>
Signed-off-by: Francesco Ruggeri <fruggeri@arista.com>
Co-developed-by: Salam Noureddine <noureddine@arista.com>
Signed-off-by: Salam Noureddine <noureddine@arista.com>
Signed-off-by: Dmitry Safonov <dima@arista.com>
Acked-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 423807ae3e37..17b3ecd2760f 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h @@ -2258,7 +2258,12 @@ static inline __u32 cookie_init_sequence(const struct tcp_request_sock_ops *ops, struct tcp_key { union { - struct tcp_ao_key *ao_key; + struct { + struct tcp_ao_key *ao_key; + char *traffic_key; + u32 sne; + u8 rcv_next; + }; struct tcp_md5sig_key *md5_key; }; enum { |