From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Ricardo Leitner Date: Fri, 04 Dec 2015 17:14:02 +0000 Subject: [PATCH net 0/3] sctp: packet timestamp fixes Message-Id: List-Id: References: <20151203184316.GF4164@mrl.redhat.com> In-Reply-To: <20151203184316.GF4164@mrl.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: netdev@vger.kernel.org Cc: Vlad Yasevich , Neil Horman , Eric Dumazet , syzkaller , linux-sctp@vger.kernel.org, Kostya Serebryany , Alexander Potapenko , Sasha Levin , =?UTF-8?q?Maciej=20=C5=BBenczykowski?= , Dmitry Vyukov Hi, These a couple of fixes regarding sctp/packet timestamps. Dmitry Vyukov reported the counter leak on missing net_enable_timestamp() (2nd patch) and further testing here revealed the other two issues. Please consider these to -stable. Thanks! Marcelo Ricardo Leitner (3): sctp: use the same clock as if sock source timestamps were on sctp: update the netstamp_needed counter when copying sockets sctp: also copy sk_tsflags when copying the socket include/net/sock.h | 2 ++ net/core/sock.c | 2 -- net/sctp/sm_make_chunk.c | 4 ++-- net/sctp/socket.c | 4 ++++ 4 files changed, 8 insertions(+), 4 deletions(-) -- 2.5.0 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Ricardo Leitner Subject: [PATCH net 0/3] sctp: packet timestamp fixes Date: Fri, 4 Dec 2015 15:14:02 -0200 Message-ID: References: <20151203184316.GF4164@mrl.redhat.com> Cc: Vlad Yasevich , Neil Horman , Eric Dumazet , syzkaller , linux-sctp@vger.kernel.org, Kostya Serebryany , Alexander Potapenko , Sasha Levin , =?UTF-8?q?Maciej=20=C5=BBenczykowski?= , Dmitry Vyukov To: netdev@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:41018 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756202AbbLDRO5 (ORCPT ); Fri, 4 Dec 2015 12:14:57 -0500 In-Reply-To: <20151203184316.GF4164@mrl.redhat.com> Sender: netdev-owner@vger.kernel.org List-ID: Hi, These a couple of fixes regarding sctp/packet timestamps. Dmitry Vyukov reported the counter leak on missing net_enable_timestamp() (2nd patch) and further testing here revealed the other two issues. Please consider these to -stable. Thanks! Marcelo Ricardo Leitner (3): sctp: use the same clock as if sock source timestamps were on sctp: update the netstamp_needed counter when copying sockets sctp: also copy sk_tsflags when copying the socket include/net/sock.h | 2 ++ net/core/sock.c | 2 -- net/sctp/sm_make_chunk.c | 4 ++-- net/sctp/socket.c | 4 ++++ 4 files changed, 8 insertions(+), 4 deletions(-) -- 2.5.0