Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2740198pxj; Mon, 31 May 2021 09:32:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxL4QB2SLZRcVe/8wlcG1TwdMXGxAGO3gkQXUmXyuZRVlpiC5oFTAGLVNfSYWtKl1yL70t X-Received: by 2002:aa7:cc87:: with SMTP id p7mr22148935edt.82.1622478759415; Mon, 31 May 2021 09:32:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622478759; cv=none; d=google.com; s=arc-20160816; b=xZ6gWTdretK4oxzjAfEIUpPFyjruQHpnvOdjkMGIcZPRlo4jQ68H37F4xm0Xn5Y3K0 Gi8ntU8230JzEkacazM08ZHxn6IOJT4AmRjt6YuSQoGWBggy/3BhLsCXFpr/5F/TGn9j 8+k9Jxki6ESQawIJakn5IrVCt+MFmdmw4R+g7AeOnVceMqgYduKpd3z/OLIJhECxxcZ9 0/ZhSXCdBc6yshYo8FFYZJgHxEvE139GCqJWk5HpFffhIGpluRBdoWGvH/VN/BYBBYTm hX5kgyGAuLcgKHIZ18yZ6zSJXQQ9gudpOwrELoTq9NE84NHzuep+kTI1Y/JVmRqc5qiR JCqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=L5QomTBPoVJsBqPeopZ9zvw+QgfftNl96K8oXrheXaU=; b=s2K/jEKjsDJmL64OvRa5tD2vujrAaJRuT1gxsNYJMhVqSC+tWN8QGjUXAgSf9i8+gF ZK4JtvDeV74mpwjhqzlvaL5sXBGZcQI805B8i42YCrx4z+jIrUybjJfGDI2HDBHJr5Gc Z0P/m6Dw2RwLc49qchDzJmtARJMZL8834HagtfGbJbwHmG8pQB1XzA1ZKEy9UlHesJK7 1Wz6ySG41YKqhprWMcEFZylPJXLTXFR2IxK8bBzn/sggZ5t4k/V7v4+SQVXikPbodPDw AHXRkk+iM5gylH8f0CUZLTC9PgFdtQgNWcbMVNqDCT/kuo4oht8tzwdQHU9Tuq7a1Ka4 fBvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Lx1UQTV2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s14si13171186edd.602.2021.05.31.09.32.13; Mon, 31 May 2021 09:32:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Lx1UQTV2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234387AbhEaQcv (ORCPT + 99 others); Mon, 31 May 2021 12:32:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:40718 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232955AbhEaOrf (ORCPT ); Mon, 31 May 2021 10:47:35 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 34CA961C92; Mon, 31 May 2021 13:56:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1622469373; bh=a5VTzrLKP9RQ6TwF9Jji3H8ox0Oh06g7F13/6DiQhdE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Lx1UQTV2cuNMahpujZjn5/OaZgqR2czJ3Ux2C98x7T+HSlHQGgLat/7Hru2Gsl/wx ISzBrfe9kfq8l8u2kzx04bKCz6WR2prukS1WoFqUq6d2oqQ8vAeIFt2/mjIs5mxS+J FIxX/h+tyOOgLZvH3xsdLmHUMqg/rPLE/eho0ox4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Xin Long , "David S. Miller" Subject: [PATCH 5.12 138/296] sctp: add the missing setting for asoc encap_port Date: Mon, 31 May 2021 15:13:13 +0200 Message-Id: <20210531130708.522584824@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531130703.762129381@linuxfoundation.org> References: <20210531130703.762129381@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Xin Long commit 297739bd73f6e49d80bac4bfd27f3598b798c0d4 upstream. This patch is to add the missing setting back for asoc encap_port. Fixes: 8dba29603b5c ("sctp: add SCTP_REMOTE_UDP_ENCAPS_PORT sockopt") Signed-off-by: Xin Long Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- net/sctp/socket.c | 1 + 1 file changed, 1 insertion(+) --- a/net/sctp/socket.c +++ b/net/sctp/socket.c @@ -4473,6 +4473,7 @@ static int sctp_setsockopt_encap_port(st transports) t->encap_port = encap_port; + asoc->encap_port = encap_port; return 0; }