net/tcp: Add TCP-AO sign to twsk
Add support for sockets in time-wait state. ao_info as well as all keys are inherited on transition to time-wait socket. The lifetime of ao_info is now protected by ref counter, so that tcp_ao_destroy_sock() will destruct it only when the last user is gone. 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>
Showing
- include/linux/tcp.h 3 additions, 0 deletionsinclude/linux/tcp.h
- include/net/tcp_ao.h 9 additions, 2 deletionsinclude/net/tcp_ao.h
- net/ipv4/tcp_ao.c 41 additions, 8 deletionsnet/ipv4/tcp_ao.c
- net/ipv4/tcp_ipv4.c 73 additions, 19 deletionsnet/ipv4/tcp_ipv4.c
- net/ipv4/tcp_minisocks.c 3 additions, 1 deletionnet/ipv4/tcp_minisocks.c
- net/ipv4/tcp_output.c 1 addition, 1 deletionnet/ipv4/tcp_output.c
- net/ipv6/tcp_ipv6.c 53 additions, 19 deletionsnet/ipv6/tcp_ipv6.c
Please register or sign in to comment