|
@@ -7202,6 +7202,8 @@ void sctp_copy_sock(struct sock *newsk, struct sock *sk,
|
|
|
|
|
|
if (newsk->sk_flags & SK_FLAGS_TIMESTAMP)
|
|
if (newsk->sk_flags & SK_FLAGS_TIMESTAMP)
|
|
net_enable_timestamp();
|
|
net_enable_timestamp();
|
|
|
|
+
|
|
|
|
+ security_sk_clone(sk, newsk);
|
|
}
|
|
}
|
|
|
|
|
|
static inline void sctp_copy_descendant(struct sock *sk_to,
|
|
static inline void sctp_copy_descendant(struct sock *sk_to,
|