aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorDmitry Safonov <[email protected]>2023-10-23 19:22:12 +0000
committerDavid S. Miller <[email protected]>2023-10-27 09:35:45 +0000
commit67fa83f7c86a86913ab9cd5a13b4bebd8d2ebb43 (patch)
treea08a7cdd4c208883f96a724379ff871cffe9a76a /net/unix/sysctl_net_unix.c
parentnet/tcp: Allow asynchronous delete for TCP-AO keys (MKTs) (diff)
downloadkernel-67fa83f7c86a86913ab9cd5a13b4bebd8d2ebb43.tar.gz
kernel-67fa83f7c86a86913ab9cd5a13b4bebd8d2ebb43.zip
net/tcp: Add static_key for TCP-AO
Similarly to TCP-MD5, add a static key to TCP-AO that is patched out when there are no keys on a machine and dynamically enabled with the first setsockopt(TCP_AO) adds a key on any socket. The static key is as well dynamically disabled later when the socket is destructed. The lifetime of enabled static key here is the same as ao_info: it is enabled on allocation, passed over from full socket to twsk and destructed when ao_info is scheduled for destruction. Signed-off-by: Dmitry Safonov <[email protected]> Acked-by: David Ahern <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions