Patch "sctp: also copy sk_tsflags when copying the socket" has been added to the 4.3-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
sctp: also copy sk_tsflags when copying the socket
to the 4.3-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
sctp-also-copy-sk_tsflags-when-copying-the-socket.patch
and it can be found in the queue-4.3 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From foo@baz Wed Dec 30 19:48:47 PST 2015
From: Marcelo Ricardo Leitner <[email protected]>
Date: Fri, 4 Dec 2015 15:14:05 -0200
Subject: sctp: also copy sk_tsflags when copying the socket
From: Marcelo Ricardo Leitner <[email protected]>
[ Upstream commit 50a5ffb1ef535e3c6989711c51b5d61b543a3b45 ]
As we are keeping timestamps on when copying the socket, we also have to copy sk_tsflags.
This is needed since b9f40e21ef42 ("net-timestamp: move timestamp flags out of sk_flags").
--- net/sctp/socket.c | 1 + 1 file changed, 1 insertion(+)
net/sctp/socket.c +1 -0
@@ -7163,6 +7163,7 @@ void sctp_copy_sock(struct sock *newsk, newsk->sk_type = sk->sk_type; newsk->sk_bound_dev_if = sk->sk_bound_dev_if; newsk->sk_flags = sk->sk_flags; + newsk->sk_tsflags = sk->sk_tsflags; newsk->sk_no_check_tx = sk->sk_no_check_tx; newsk->sk_no_check_rx = sk->sk_no_check_rx; newsk->sk_reuse = sk->sk_reuse;
Patches currently in stable-queue which might be from [email protected] are
queue-4.3/sctp-update-the-netstamp_needed-counter-when-copying-sockets.patch queue-4.3/sctp-also-copy-sk_tsflags-when-copying-the-socket.patch queue-4.3/sctp-use-the-same-clock-as-if-sock-source-timestamps-were-on.patch