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.
Reported-by: Colin Guthrie <redacted>
Reported-by: Christiaan Welvaart <redacted>
Reported-by: Thomas Backlund <redacted>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Cong Wang <redacted>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: Gregory Fong <redacted>
---
include/uapi/linux/if_bridge.h | 1 +
1 file changed, 1 insertion(+)
From: Cong Wang <hidden> Date: 2014-11-05 00:40:01
On Tue, Nov 4, 2014 at 11:21 AM, Gregory Fong [off-list ref] wrote:
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.
Reported-by: Colin Guthrie <redacted>
Reported-by: Christiaan Welvaart <redacted>
Reported-by: Thomas Backlund <redacted>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Cong Wang <redacted>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: Gregory Fong <redacted>
Acked-by: Cong Wang <redacted>
Thanks for working on it!
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.
Reported-by: Colin Guthrie <redacted>
Reported-by: Christiaan Welvaart <cjw-CllfUmslCRwdbCeoMzGj59i2O/JbrIOy@public.gmane.org>
Reported-by: Thomas Backlund <redacted>
Cc: Florian Fainelli <redacted>
Cc: Cong Wang <redacted>
Cc: David Miller <davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
Signed-off-by: Gregory Fong <redacted>