sctp: also copy sk_tsflags when copying the socket
authorMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Fri, 4 Dec 2015 17:14:05 +0000 (15:14 -0200)
committerSasha Levin <sasha.levin@oracle.com>
Fri, 15 Jan 2016 23:41:50 +0000 (18:41 -0500)
commit9ee9284e62b25ee233eb809ed2e8696584753c9b
treee9e49e93223c6c35e87875d4b4774ccb37693864
parent34c664a49b82ce45cb5299ab683ee2c523ab0d57
sctp: also copy sk_tsflags when copying the socket

[ 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").

Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Acked-by: Vlad Yasevich <vyasevich@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
net/sctp/socket.c