projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56628b1
)
[NETLABLE]: Hide netlbl_unlabel_audit_addr6 under ifdef CONFIG_IPV6.
author
Pavel Emelyanov
<xemul@openvz.org>
Wed, 13 Feb 2008 06:38:06 +0000
(22:38 -0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 13 Feb 2008 06:38:06 +0000
(22:38 -0800)
This one is called from under this config only, so move
it in the same place.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlabel/netlabel_unlabeled.c
patch
|
blob
|
blame
|
history
diff --git
a/net/netlabel/netlabel_unlabeled.c
b/net/netlabel/netlabel_unlabeled.c
index 3587874d64eca1cdab6b18c994ac8c4cdd9d09c4..3e745b72fded93860d66ae29df646c889eb24e4a 100644
(file)
--- a/
net/netlabel/netlabel_unlabeled.c
+++ b/
net/netlabel/netlabel_unlabeled.c
@@
-180,6
+180,7
@@
static void netlbl_unlabel_audit_addr4(struct audit_buffer *audit_buf,
}
}
+#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
/**
* netlbl_unlabel_audit_addr6 - Audit an IPv6 address
* @audit_buf: audit buffer
@@
-213,6
+214,7
@@
static void netlbl_unlabel_audit_addr6(struct audit_buffer *audit_buf,
audit_log_format(audit_buf, " src_prefixlen=%d", mask_len);
}
}
+#endif /* IPv6 */
/*
* Unlabeled Connection Hash Table Functions