From: David Ahern <dsahern@gmail.com>
To: Jakub Kicinski <kuba@kernel.org>, davem@davemloft.net
Cc: netdev@vger.kernel.org, j.vosburgh@gmail.com, vfalico@gmail.com,
andy@greyhouse.net, oliver@neukum.org, yoshfuji@linux-ipv6.org,
dsahern@kernel.org, alex.aring@gmail.com,
jukka.rissanen@linux.intel.com, stefan@datenfreihafen.org,
jk@codeconstruct.com.au, matt@codeconstruct.com.au,
linux-usb@vger.kernel.org, linux-bluetooth@vger.kernel.org,
linux-wpan@vger.kernel.org
Subject: Re: [PATCH net-next] net: don't include ndisc.h from ipv6.h
Date: Thu, 3 Feb 2022 15:48:28 -0700 [thread overview]
Message-ID: <df19b376-49a3-1ef2-0664-a23a48e128dc@gmail.com> (raw)
In-Reply-To: <20220203043457.2222388-1-kuba@kernel.org>
On 2/2/22 9:34 PM, Jakub Kicinski wrote:
> diff --git a/include/net/ipv6.h b/include/net/ipv6.h
> index 082f30256f59..cda1f205f391 100644
> --- a/include/net/ipv6.h
> +++ b/include/net/ipv6.h
> @@ -15,7 +15,6 @@
> #include <linux/refcount.h>
> #include <linux/jump_label_ratelimit.h>
> #include <net/if_inet6.h>
> -#include <net/ndisc.h>
> #include <net/flow.h>
> #include <net/flow_dissector.h>
> #include <net/snmp.h>
> diff --git a/include/net/ipv6_frag.h b/include/net/ipv6_frag.h
> index 0a4779175a52..5052c66e22d2 100644
> --- a/include/net/ipv6_frag.h
> +++ b/include/net/ipv6_frag.h
> @@ -1,6 +1,7 @@
> /* SPDX-License-Identifier: GPL-2.0 */
> #ifndef _IPV6_FRAG_H
> #define _IPV6_FRAG_H
> +#include <linux/icmpv6.h>
> #include <linux/kernel.h>
> #include <net/addrconf.h>
> #include <net/ipv6.h>
> diff --git a/include/net/ndisc.h b/include/net/ndisc.h
> index 53cb8de0e589..07d48bd6c0bd 100644
> --- a/include/net/ndisc.h
> +++ b/include/net/ndisc.h
> @@ -71,7 +71,6 @@ do { \
>
> struct ctl_table;
> struct inet6_dev;
> -struct net_device;
ndisc_parse_options references net_device. This part seems unrelated to
the patch intent.
> struct net_proto_family;
> struct sk_buff;
> struct prefix_info;
next prev parent reply other threads:[~2022-02-03 22:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-03 4:34 [PATCH net-next] net: don't include ndisc.h from ipv6.h Jakub Kicinski
2022-02-03 4:53 ` Jeremy Kerr
2022-02-03 15:14 ` Stefan Schmidt
2022-02-03 22:48 ` David Ahern [this message]
2022-02-03 23:10 ` Jakub Kicinski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=df19b376-49a3-1ef2-0664-a23a48e128dc@gmail.com \
--to=dsahern@gmail.com \
--cc=alex.aring@gmail.com \
--cc=andy@greyhouse.net \
--cc=davem@davemloft.net \
--cc=dsahern@kernel.org \
--cc=j.vosburgh@gmail.com \
--cc=jk@codeconstruct.com.au \
--cc=jukka.rissanen@linux.intel.com \
--cc=kuba@kernel.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=linux-wpan@vger.kernel.org \
--cc=matt@codeconstruct.com.au \
--cc=netdev@vger.kernel.org \
--cc=oliver@neukum.org \
--cc=stefan@datenfreihafen.org \
--cc=vfalico@gmail.com \
--cc=yoshfuji@linux-ipv6.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox