diff options
| author | 2023-12-04 19:00:42 +0000 | |
|---|---|---|
| committer | 2023-12-06 12:36:55 +0100 | |
| commit | 965c00e4ea2e4df986ecd73c2fe9d3a00a2858db (patch) | |
| tree | 7359e58c475214fa2e3762ccd44d7d2cbfd9882a /rust/kernel/ssh:/git@git.zx2c4.com/git: | |
| parent | net/tcp: Consistently align TCP-AO option in the header (diff) | |
net/tcp: Limit TCP_AO_REPAIR to non-listen sockets
Listen socket is not an established TCP connection, so
setsockopt(TCP_AO_REPAIR) doesn't have any impact.
Restrict this uAPI for listen sockets.
Fixes: faadfaba5e01 ("net/tcp: Add TCP_AO_REPAIR")
Signed-off-by: Dmitry Safonov <dima@arista.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
