Thread (5 messages) flat view 5 messages, 4 authors, 2022-02-03

Re: [PATCH net-next] net: don't include ndisc.h from ipv6.h

From: Jakub Kicinski <kuba@kernel.org>
Date: 2022-02-03 23:10:28
Also in: linux-bluetooth, linux-usb

On Thu, 3 Feb 2022 15:48:28 -0700 David Ahern wrote:
quoted
--- 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help