Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp1230380ybj; Fri, 20 Sep 2019 07:13:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqxF+6xdhGwbGzGJrXDTjQ6V+vrNQ3Dp36qbaej4gDsFZXJpDSG1A/9xWmA6eTu82sPITi68 X-Received: by 2002:a50:ccd3:: with SMTP id b19mr21777050edj.257.1568988812824; Fri, 20 Sep 2019 07:13:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568988812; cv=none; d=google.com; s=arc-20160816; b=R2UNktzh8ZwVzKssu3fzgOj8lQc9s+kpTHT/zqyWe+SQG80bAI7ad1vU3HQwEEJSW8 NQYkPl2ChvCPuc/H/LTAtOiqC9/yKe8cqgAKGzDFmSIEtPOVI3QenFZ+6jgBPXqe8z5M f5nDGyNkAJMhHgO7OyngX6QmxyjGw8HzeAk5vrDknGifxIDgA0cIA6zGLSVTPDe8L/jj nfBJkzkvDe6wA3yEW/xWZ1G70OFzhQhO9P2PEjk9FZdcOLPIE3fOtr8NQmaF4MkHvPDK Xm/sSq9xbo5Yj007VuWI0+l1KPZLCEsMdP+GKgke0hi9fwu7q4XHaZRN4sdHgA7dNM48 9I5g== 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=i+R4RV0N8JzLmIynn2Z3UE4tU6DsEK7IkAcR7ta1e18=; b=WSel1e7yp/4Pibluz9+HXrUWr+x2xr5Wpes78ANLPwza0qW1ADl+S1PpY8x0XHyz+k suhnFA3GyTyDKByBlxfAzwR+L4j3TxDBFmhTN018CnwwBO4DCx4tD685ykA+ioLSpkMr XJbJHz24uW99aIiXzAS6+QjF/j6AbO+wtd01Z83VuTldn98IvNKHBTjZqd7oAciw4S46 i6uwlG0TTs6i5KOoSyq+TJi7QiRRuQoCbPKIZcH3BFu0jZjhTv05bpbvBGuXoLztTWCM 2RlXrRDeh6jtXEqKTWh1Zqr/xkwMPqeNyWP7PnO4Qx+lZ1skJQYVYnuKlOGPlUmhzl/6 yYng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=B43Kgd1P; 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 m33si1495299edc.94.2019.09.20.07.13.06; Fri, 20 Sep 2019 07:13:32 -0700 (PDT) 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=B43Kgd1P; 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 S2392756AbfISWTW (ORCPT + 99 others); Thu, 19 Sep 2019 18:19:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:32946 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392452AbfISWTT (ORCPT ); Thu, 19 Sep 2019 18:19:19 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.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 B584820678; Thu, 19 Sep 2019 22:19:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1568931559; bh=eRqoDxPhzvVbfx3W3pJb3IwRfIRBOVWrUZjCX5SJ9ZI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=B43Kgd1PQ0Pk17am7g9gr5SaWL+4zQZlkNPjFeC8ZuDKa0zE86Was6GhAtdwHq8UB Sfy+ikWwSJMyTi7vTwCGf/XNKkVGN9+7nfhVPULafwvJZjXwJkdVH8mUNVzmuxJlxI xWibVcRJnoVZNcmbuhhhGf7nqI0hNR9D7V/qlx9M= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Christophe JAILLET , "David S. Miller" Subject: [PATCH 4.9 03/74] ipv6: Fix the link time qualifier of ping_v6_proc_exit_net() Date: Fri, 20 Sep 2019 00:03:16 +0200 Message-Id: <20190919214801.207325640@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190919214800.519074117@linuxfoundation.org> References: <20190919214800.519074117@linuxfoundation.org> User-Agent: quilt/0.66 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 From: Christophe JAILLET [ Upstream commit d23dbc479a8e813db4161a695d67da0e36557846 ] The '.exit' functions from 'pernet_operations' structure should be marked as __net_exit, not __net_init. Fixes: d862e5461423 ("net: ipv6: Implement /proc/net/icmp6.") Signed-off-by: Christophe JAILLET Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- net/ipv6/ping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/net/ipv6/ping.c +++ b/net/ipv6/ping.c @@ -239,7 +239,7 @@ static int __net_init ping_v6_proc_init_ return ping_proc_register(net, &ping_v6_seq_afinfo); } -static void __net_init ping_v6_proc_exit_net(struct net *net) +static void __net_exit ping_v6_proc_exit_net(struct net *net) { return ping_proc_unregister(net, &ping_v6_seq_afinfo); }