]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: fix compile error when compiling without IPv6 support
authorLinus Lüssing <linus.luessing@web.de>
Wed, 11 Jun 2014 23:41:24 +0000 (01:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Jun 2014 18:00:24 +0000 (11:00 -0700)
commitabdbddf3873ea4849f586f696c2de2f7d683b07d
tree0c09f78241f8e9fd73d35fc015bf15639d4854c9
parent30c6410cfb119fef207137eb8d4e5dc3821bf6e4
bridge: fix compile error when compiling without IPv6 support

Some fields in "struct net_bridge" aren't available when compiling the
kernel without IPv6 support. Therefore adding a check/macro to skip the
complaining code sections in that case.

Introduced by b76c453ad7a5042e0793bfec98defd65b8a4d263
("bridge: memorize and export selected IGMP/MLD querier port")

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Linus Lüssing <linus.luessing@web.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_multicast.c