Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1508406

Re: [PATCH] [net-next] net: ip, diag: include net/inet_sock.h

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Cyrill Gorcunov <gorcunov@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] [net-next] net: ip, diag: include net/inet_sock.h
Date Tue, 25 Oct 2016 18:10:01 +0200
Message-ID <swcsx-7SW-9@gated-at.bofh.it> (permalink)
References <swciX-7zc-9@gated-at.bofh.it>
X-Original-To Arnd Bergmann <arnd@arndb.de>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=vwDo/VCC/ZkI2XzWkKFhP5UsJ8r4GLcJl/y5P7+X+pI=; b=efoXFicn6RXqIlpjPKmSi0lLgyEn999jESqI+uvDJ59xCsNGpPM8V/Vea+oOIO+3ZM PZ/XcYvLxMV3A0JnH9+g2tPNXT7qKyMm7XNwWx1yXvHB7CP6OWwvIErp/Q1DxrpJEVtU hW6Jnt2cDQsqktHIj6nvD63Qlgjk5wRzlihopWonG2JnVSgBtyohhsxuWnbhe+lYD3Gc nMGWvH+Co2lbaZcZQw4WMCeAk/+KXRDCyUaWaLa8rgUr+KdpIEvzrXEWke8VBfqkMdia hcFU9Ir4Mk+ZMBltSUuRIb5cZ20KjDkZRhu/YJxYmSDLge/iI/jd06bmhoCLK6wv/qPQ 7whA==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=vwDo/VCC/ZkI2XzWkKFhP5UsJ8r4GLcJl/y5P7+X+pI=; b=kMoNc6t+vofF/mHlO1oDSLVNYMNM4T4VhycLJJgvpCvIj7YAlTHNf15rRvhWvSkPN0 3fsgaOvaMuBLPJoTZz0ar+F1oLErirPqY8YIJSOWyMH1t9ox0TIm3WYx1U51ciZY+MbH sdtjIobOlFijdXO5L5rBpAMh3Zb9hKakquvqCT3quff3QmwgaKJD5eVCh2X35pi3aOgH c6dBMIxX0Mi1RHpBpuflGityJ4m8282qaB8O3IZPcdV7yZ/oNZH10iar1Akzlv5I9Xc1 FGsdRJQ3ZgsAMrXBE5ElhizhE9gWzq507nppgchd73/txXaZ8A2OTNeJNmtLb6jTj9KL Hr8A==
X-Gm-Message-State ABUngveRkc+npBkK/xVfjoM+h2jVf+qpq5GEWVzoU6+stXO60zJ5HrbrNBUIf4Km4jV1Cw==
X-Received by 10.25.199.87 with SMTP id x84mr9088568lff.142.1477411563955; Tue, 25 Oct 2016 09:06:03 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.7.0 (2016-08-17)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 13
Organization linux.* mail to news gateway
X-Original-Cc "David S. Miller" <davem@davemloft.net>, Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>, James Morris <jmorris@namei.org>, Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>, Patrick McHardy <kaber@trash.net>, netdev@vger.kernel.org, linux-kernel@vger.kernel.org
X-Original-Date Tue, 25 Oct 2016 19:06:02 +0300
X-Original-Message-ID <20161025160602.GZ1847@uranus.lan>
X-Original-References <20161025155339.9892-1-arnd@arndb.de>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1508406

Show key headers only | View raw


On Tue, Oct 25, 2016 at 05:53:22PM +0200, Arnd Bergmann wrote:
> The newly added raw_diag.c fails to build in some configurations
> unless we include this header:
> 
> In file included from net/ipv4/raw_diag.c:6:0:
> include/net/raw.h:71:21: error: field 'inet' has incomplete type
> net/ipv4/raw_diag.c: In function 'raw_diag_dump':
> net/ipv4/raw_diag.c:166:29: error: implicit declaration of function 'inet_sk'
> 
> Fixes: 432490f9d455 ("net: ip, diag -- Add diag interface for raw sockets")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Thank you! And sorry for this, it didn't trigger on my testing.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] [net-next] net: ip, diag: include net/inet_sock.h Arnd Bergmann <arnd@arndb.de> - 2016-10-25 18:00 +0200
  Re: [PATCH] [net-next] net: ip, diag: include net/inet_sock.h Cyrill Gorcunov <gorcunov@gmail.com> - 2016-10-25 18:10 +0200

csiph-web