net: bridge builtin vs. ipv6 modular
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 10 Mar 2011 21:45:57 +0000 (13:45 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Mar 2011 21:45:57 +0000 (13:45 -0800)
commitdcbcdf22f500ac6e4ec06485341024739b9dc241
tree71492abd2ba95b51fb0d20e63e0164eb6c3f7a49
parent7343ff31ebf01691ea4515d3126467434b9d22d6
net: bridge builtin vs. ipv6 modular

When configs BRIDGE=y and IPV6=m, this build error occurs:

br_multicast.c:(.text+0xa3341): undefined reference to `ipv6_dev_get_saddr'

BRIDGE_IGMP_SNOOPING is boolean; if it were tristate, then adding
depends on IPV6 || IPV6=n
to BRIDGE_IGMP_SNOOPING would be a good fix.  As it is currently,
making BRIDGE depend on the IPV6 config works.

Reported-by: Patrick Schaaf <netdev@bof.de>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/Kconfig