[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220203151021.6a276271@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Thu, 3 Feb 2022 15:10:21 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: David Ahern <dsahern@...il.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org, j.vosburgh@...il.com,
vfalico@...il.com, andy@...yhouse.net, oliver@...kum.org,
yoshfuji@...ux-ipv6.org, dsahern@...nel.org, alex.aring@...il.com,
jukka.rissanen@...ux.intel.com, stefan@...enfreihafen.org,
jk@...econstruct.com.au, matt@...econstruct.com.au,
linux-usb@...r.kernel.org, linux-bluetooth@...r.kernel.org,
linux-wpan@...r.kernel.org
Subject: Re: [PATCH net-next] net: don't include ndisc.h from ipv6.h
On Thu, 3 Feb 2022 15:48:28 -0700 David Ahern wrote:
> > --- 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.
Indeed, I'll post v2 with this fixed. The reason was this header
includes linux/netdevice.h so the forward declaration is unnecessary.
Powered by blists - more mailing lists