diff --git a/net/core/sock.c b/net/core/sock.c index 0d8754ec837d..c50a14a02edd 100644 --- a/net/core/sock.c +++ b/net/core/sock.c @@ -2771,6 +2771,7 @@ int __sock_cmsg_send(struct sock *sk, struct msghdr *msg, struct cmsghdr *cmsg, sockc->mark = *(u32 *)CMSG_DATA(cmsg); break; case SO_TIMESTAMPING_OLD: + case SO_TIMESTAMPING_NEW: if (cmsg->cmsg_len != CMSG_LEN(sizeof(u32))) return -EINVAL;