bridge: include in6.h in if_bridge.h for struct in6_addr
Subsystems (4)
PATCH 1/1 bridge: include in6.h in if_bridge.h for struct in6_addr
if_bridge.h uses struct in6_addr ip6, but wasn't including the in6.h header. Thomas Backlund originally sent a patch to do this, but this revealed a redefinition issue: https://lkml.org/lkml/2013/1/13/116
The redefinition issue should have been fixed by the following Linux
commits:ee262ad827f89e2dc7851ec2986953b5b125c6bc inet: defines IPPROTO_* needed for module alias generation cfd280c91253cc28e4919e349fa7a813b63e71e8 net: sync some IP headers with glibc
and the following glibc commit:6c82a2f8d7c8e21e39237225c819f182ae438db3 Coordinate IPv6 definitions for Linux and glibc
so actually include the header now.
--- include/uapi/linux/if_bridge.h | 1 + 1 file changed, 1 insertion(+)
include/uapi/linux/if_bridge.h +1 -0
@@ -15,6 +15,7 @@#include <linux/types.h> #include <linux/if_ether.h> +#include <linux/in6.h> #define SYSFS_BRIDGE_ATTR "bridge"#define SYSFS_BRIDGE_FDB "brforward"
Signature · 1 line
1.9.1
Quoted 14 lines · Gregory Fong
if_bridge.huses structin6_addrip6, but wasn't including thein6.hheader. Thomas Backlund originally sent a patch to do this, but this revealed a redefinition issue: https://lkml.org/lkml/2013/1/13/116The redefinition issue should have been fixed by the following Linux
commits:ee262ad827f89e2dc7851ec2986953b5b125c6bcinet: defines IPPROTO_* needed for module alias generationcfd280c91253cc28e4919e349fa7a813b63e71e8net: sync some IP headers with glibcand the following glibc commit:
6c82a2f8d7c8e21e39237225c819f182ae438db3Coordinate IPv6 definitions for Linux and glibcso actually include the header now.
Quoted 7 lines
Reported-by Colin Guthrie <[email protected]>Reported-by Christiaan Welvaart <[email protected]>Reported-by Thomas Backlund <[email protected]>Cc Florian Fainelli <[email protected]>Cc Cong Wang <[email protected]>Cc David Miller <[email protected]>Signed-off-by Gregory Fong <[email protected]>
Thanks for working on it!
From: Gregory Fong <[email protected]>
Date: Tue, 4 Nov 2014 11:21:21 -0800
Quoted 14 lines
if_bridge.huses structin6_addrip6, but wasn't including thein6.hheader. Thomas Backlund originally sent a patch to do this, but this revealed a redefinition issue: https://lkml.org/lkml/2013/1/13/116The redefinition issue should have been fixed by the following Linux
commits:ee262ad827f89e2dc7851ec2986953b5b125c6bcinet: defines IPPROTO_* needed for module alias generationcfd280c91253cc28e4919e349fa7a813b63e71e8net: sync some IP headers with glibcand the following glibc commit:
6c82a2f8d7c8e21e39237225c819f182ae438db3Coordinate IPv6 definitions for Linux and glibcso actually include the header now.
Quoted 7 lines
Reported-by Colin Guthrie <[email protected]>Reported-by Thomas Backlund <[email protected]>Cc Florian Fainelli <[email protected]>Cc Cong Wang <[email protected]>Cc David Miller <davem-fT/PcQaiUtIeIZ0/[email protected]>Signed-off-by Gregory Fong <[email protected]>
Applied, thank you.