netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PATCH] Revert "bridge: include in6.h in if_bridge.h for struct in6_addr"
@ 2014-12-10  4:30 Stephen Hemminger
  2014-12-10  4:49 ` David Miller
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen Hemminger @ 2014-12-10  4:30 UTC (permalink / raw)
  To: David Miller, Gregory Fong, Florian Fainelli, Cong Wang; +Cc: netdev

This reverts commit 66f1c44887ba4f47d617f8ae21cf8e04e1892bd7.

iproute2 uses sanitized kernel headers, and this change broke the build.
The problem is that the iproute2 ip/iplink_bridge_slave.c include if_bridge.h
but this causes a redefintion error when Glibc <netlink/in.h> is included.

Since iproute2 is arguably the most important user of network headers,
the uapi header change should be reverted.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>

---
Please update stable as well.

 include/uapi/linux/if_bridge.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/uapi/linux/if_bridge.h b/include/uapi/linux/if_bridge.h
index b03ee8f..439fd0d 100644
--- a/include/uapi/linux/if_bridge.h
+++ b/include/uapi/linux/if_bridge.h
@@ -15,7 +15,6 @@
 
 #include <linux/types.h>
 #include <linux/if_ether.h>
-#include <linux/in6.h>
 
 #define SYSFS_BRIDGE_ATTR	"bridge"
 #define SYSFS_BRIDGE_FDB	"brforward"
-- 
2.1.3

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-12-11  1:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-10  4:30 PATCH] Revert "bridge: include in6.h in if_bridge.h for struct in6_addr" Stephen Hemminger
2014-12-10  4:49 ` David Miller
2014-12-10  5:41   ` [PATCH v2] if_bridge: fix conflict with glibc Stephen Hemminger
2014-12-10 18:34     ` David Miller
2014-12-10 23:57       ` Stephen Hemminger
2014-12-11  1:44         ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).