Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp51758imu; Wed, 21 Nov 2018 15:12:25 -0800 (PST) X-Google-Smtp-Source: AFSGD/XBKBjj9+fUFrl6CJnWpziay1EGSYJST94c1VI6cMWjC+EEsik6aAMFm09s6rdyEbQQNNco X-Received: by 2002:a17:902:f20b:: with SMTP id gn11mr8367627plb.93.1542841945253; Wed, 21 Nov 2018 15:12:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542841945; cv=none; d=google.com; s=arc-20160816; b=ySg2T3twjc8cPQtWWcTwXZhQHiuzoGt797kuFNLiHD4olbdzBhW8kdn1xKByD/+/Cb ovhC3a4OuNbL5i6cTANs92JHRrgRCfzCPTkUZ9vhaogLSxN0HFHmLXWd+zX2wc/bRH00 1rjMj6xLPAGivmjy3mGnsKap6gywPtSBJeanaDu1REMaWHkam252ttuKKjKEMC+2oFG5 WLeCBZ0XgaOjdWxx1RfpZySbkW2N1dWoXoicMFfz/PhJle0yNhCP/3oW5UHccRoz8jol gSxbXTTnlKOTHxVSmCYARESVfZTvmznBtg9dGZX4JiSYlkTRn8Qqg1PiWarf0f3ukDiG jWrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=eZ51M7sMkawvxTyWfCYTuoXSjjEkF259+1ostNn1s2g=; b=ja7vrdHeete4R6XE6IEq91jNvDTvOfI0Ye5dURXM/WAkqDyNuxUEtUpASwlv9R/1lm XdmjtI6pIkMFKfJHOvp0FGHd3jTNc3+I3Z1ONHC/VUbO6OPnAq3+CAS3FhQV5NpaewfJ qznDIpEL0tgh5xzmxXjmRwZDEpfngjQZ9cVCH0WOKaIA+7xzXEl5foLP9p1n6Mc7BPQg xkQ7rmcm7ANWz6nrzVJJCAhSPmLREDIl8mUfbYG4hk0HhLx0ToYykh7dEadFrpNXen1P 0v9MDRtX/7phhwwdQCBGP32c3IXJjyVQzPMQvkcE7IIgUwlj4fYh5HK4Hc6aaTXD5MQE S3EQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=OG94iasw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 88-v6si48988995plc.34.2018.11.21.15.12.10; Wed, 21 Nov 2018 15:12:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=OG94iasw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387966AbeKVFnQ (ORCPT + 99 others); Thu, 22 Nov 2018 00:43:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:37958 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387767AbeKVFnP (ORCPT ); Thu, 22 Nov 2018 00:43:15 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BDAB0214F1; Wed, 21 Nov 2018 19:07:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1542827263; bh=xzqoUaIjuvpq7jxQMbf49PmwFpRJH+vpStbHDyPthQ8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OG94iasw0ejBzk6z3XmdKqtMGFrA5PuBcf3fbYySJFOxZXsCafGktkw+na3AsAWUD MQdlrTOowktYVy7qfqsbGp1G0a2tbwWeniYE718wxpw0NerJL43fgsx4eIOFMgGrLK DSV44L++Pt1iy0QnWBaonLF0dYnlMJb0fzXgGe20= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jianwen Ji , Xin Long , "David S. Miller" Subject: [PATCH 4.19 35/42] sctp: fix strchange_flags name for Stream Change Event Date: Wed, 21 Nov 2018 20:06:11 +0100 Message-Id: <20181121183149.483112966@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181121183147.869199006@linuxfoundation.org> References: <20181121183147.869199006@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Xin Long [ Upstream commit fd82d61ba142f0b83463e47064bf5460aac57b6e ] As defined in rfc6525#section-6.1.3, SCTP_STREAM_CHANGE_DENIED and SCTP_STREAM_CHANGE_FAILED should be used instead of SCTP_ASSOC_CHANGE_DENIED and SCTP_ASSOC_CHANGE_FAILED. To keep the compatibility, fix it by adding two macros. Fixes: b444153fb5a6 ("sctp: add support for generating add stream change event notification") Reported-by: Jianwen Ji Signed-off-by: Xin Long Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- include/uapi/linux/sctp.h | 2 ++ 1 file changed, 2 insertions(+) --- a/include/uapi/linux/sctp.h +++ b/include/uapi/linux/sctp.h @@ -568,6 +568,8 @@ struct sctp_assoc_reset_event { #define SCTP_ASSOC_CHANGE_DENIED 0x0004 #define SCTP_ASSOC_CHANGE_FAILED 0x0008 +#define SCTP_STREAM_CHANGE_DENIED SCTP_ASSOC_CHANGE_DENIED +#define SCTP_STREAM_CHANGE_FAILED SCTP_ASSOC_CHANGE_FAILED struct sctp_stream_change_event { __u16 strchange_type; __u16 strchange_flags;