* [PATCH] NETFILTER: Make sure xt_policy.h is unifdef'ed.
@ 2008-02-17 17:33 Robert P. J. Day
2008-02-19 12:30 ` Patrick McHardy
0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2008-02-17 17:33 UTC (permalink / raw)
To: netfilter-devel
Since the header file xt_policy.h tests __KERNEL__, it should be
unifdef'ed before exporting to userspace.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
---
diff --git a/include/linux/netfilter/Kbuild b/include/linux/netfilter/Kbuild
index 91fef0c..3aff513 100644
--- a/include/linux/netfilter/Kbuild
+++ b/include/linux/netfilter/Kbuild
@@ -30,7 +30,6 @@ header-y += xt_mark.h
header-y += xt_multiport.h
header-y += xt_owner.h
header-y += xt_pkttype.h
-header-y += xt_policy.h
header-y += xt_rateest.h
header-y += xt_realm.h
header-y += xt_sctp.h
@@ -47,3 +46,4 @@ unifdef-y += nfnetlink.h
unifdef-y += nfnetlink_compat.h
unifdef-y += x_tables.h
unifdef-y += xt_physdev.h
+unifdef-y += xt_policy.h
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.
http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] NETFILTER: Make sure xt_policy.h is unifdef'ed.
2008-02-17 17:33 [PATCH] NETFILTER: Make sure xt_policy.h is unifdef'ed Robert P. J. Day
@ 2008-02-19 12:30 ` Patrick McHardy
0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2008-02-19 12:30 UTC (permalink / raw)
To: Robert P. J. Day; +Cc: netfilter-devel
Robert P. J. Day wrote:
> Since the header file xt_policy.h tests __KERNEL__, it should be
> unifdef'ed before exporting to userspace.
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-02-19 12:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-17 17:33 [PATCH] NETFILTER: Make sure xt_policy.h is unifdef'ed Robert P. J. Day
2008-02-19 12:30 ` Patrick McHardy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).