diff options
author | Paul Moore <pmoore@redhat.com> | 2011-11-29 10:10:54 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-29 16:48:52 -0500 |
commit | 1281bc256543eb610b14fa95ce1967397931a120 (patch) | |
tree | 51a1fceba7c3bc7f6e8db24ddc9bef3ca052fe87 /firmware/mts_edge.fw.ihex | |
parent | c89304b8ea34ab48ba6ae10e06a8b1b8c8212307 (diff) | |
download | kernel_goldelico_gta04-1281bc256543eb610b14fa95ce1967397931a120.tar.gz kernel_goldelico_gta04-1281bc256543eb610b14fa95ce1967397931a120.tar.bz2 kernel_goldelico_gta04-1281bc256543eb610b14fa95ce1967397931a120.zip |
netlabel: Fix build problems when IPv6 is not enabled
A recent fix to the the NetLabel code caused build problem with
configurations that did not have IPv6 enabled; see below:
netlabel_kapi.c: In function 'netlbl_cfg_unlbl_map_add':
netlabel_kapi.c:165:4:
error: implicit declaration of function 'netlbl_af6list_add'
This patch fixes this problem by making the IPv6 specific code conditional
on the IPv6 configuration flags as we done in the rest of NetLabel and the
network stack as a whole. We have to move some variable declarations
around as a result so things may not be quite as pretty, but at least it
builds cleanly now.
Some additional IPv6 conditionals were added to the NetLabel code as well
for the sake of consistency.
Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Paul Moore <pmoore@redhat.com>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware/mts_edge.fw.ihex')
0 files changed, 0 insertions, 0 deletions