diff options
author | Linus Lüssing <linus.luessing@web.de> | 2014-06-12 01:41:24 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-12 20:00:24 +0200 |
commit | 3993c4e159eba0e10c0628737736d6fcf97ab9ef (patch) | |
tree | 0c09f78241f8e9fd73d35fc015bf15639d4854c9 /drivers/net/ethernet/freescale/fec.h | |
parent | bridge: fix smatch warning / potential null pointer dereference (diff) | |
download | linux-3993c4e159eba0e10c0628737736d6fcf97ab9ef.tar.xz linux-3993c4e159eba0e10c0628737736d6fcf97ab9ef.zip |
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 2cd4143192e8c60f66cb32c3a30c76d0470a372d
("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>
Diffstat (limited to 'drivers/net/ethernet/freescale/fec.h')
0 files changed, 0 insertions, 0 deletions