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)
committerDavid S. Miller <davem@davemloft.net>
Sun, 6 Dec 2015 03:23:22 +0000 (22:23 -0500)
commit50a5ffb1ef535e3c6989711c51b5d61b543a3b45
treead426ebf6b714b6cffa20281d789ef488b812d7c
parent01ce63c90170283a9855d1db4fe81934dddce648
sctp: also copy sk_tsflags when copying the socket

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>
net/sctp/socket.c