]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit98d44990437c4b3ddd1302825cda0a613003dfa8
treead426ebf6b714b6cffa20281d789ef488b812d7c
parentc0b08d436edc1cb515c9896f515467244f148bc6
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 c756067ab1f2 ("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