diff options
| author | Eric Dumazet <[email protected]> | 2023-03-17 15:55:38 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2023-03-18 12:23:34 +0000 |
| commit | 403a40f2304d4730a780ab9d6a2b93d1e4ac39d2 (patch) | |
| tree | 9eb7c9b93e4d7a94703e9a1047bba34b0275164b /net/ipv4/tcp_output.c | |
| parent | x25: preserve const qualifier in [a]x25_sk() (diff) | |
| download | kernel-403a40f2304d4730a780ab9d6a2b93d1e4ac39d2.tar.gz kernel-403a40f2304d4730a780ab9d6a2b93d1e4ac39d2.zip | |
mptcp: preserve const qualifier in mptcp_sk()
We can change mptcp_sk() to propagate its argument const qualifier,
thanks to container_of_const().
We need to change few things to avoid build errors:
mptcp_set_datafin_timeout() and mptcp_rtx_head() have to accept
non-const sk pointers.
@msk local variable in mptcp_pending_tail() must be const.
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Matthieu Baerts <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Reviewed-by: Matthieu Baerts <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions
