diff options
author | Eric Paris <eparis@redhat.com> | 2012-02-16 15:08:39 -0500 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2012-04-09 12:22:41 -0400 |
commit | 6ce74ec75ca690c4fb3a3c5f8b7767d094d93215 (patch) | |
tree | 9ae2296b93f19fd09213d2db90f749498b4e16e7 /net/xfrm | |
parent | 72e8c8593f8fdb983d9cd79d824f6b48ef21f14f (diff) | |
download | blackbird-obmc-linux-6ce74ec75ca690c4fb3a3c5f8b7767d094d93215.tar.gz blackbird-obmc-linux-6ce74ec75ca690c4fb3a3c5f8b7767d094d93215.zip |
SELinux: include flow.h where used rather than get it indirectly
We use flow_cache_genid in the selinux xfrm files. This is declared in
net/flow.h However we do not include that file directly anywhere. We have
always just gotten it through a long chain of indirect .h file includes.
on x86_64:
CC security/selinux/ss/services.o
In file included from
/next/linux-next-20120216/security/selinux/ss/services.c:69:0:
/next/linux-next-20120216/security/selinux/include/xfrm.h: In function 'selinux_xfrm_notify_policyload':
/next/linux-next-20120216/security/selinux/include/xfrm.h:51:14: error: 'flow_cache_genid' undeclared (first use in this function)
/next/linux-next-20120216/security/selinux/include/xfrm.h:51:14: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [security/selinux/ss/services.o] Error 1
Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'net/xfrm')
-rw-r--r-- | net/xfrm/xfrm_policy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c index 7661576b6f45..596f125658f6 100644 --- a/net/xfrm/xfrm_policy.c +++ b/net/xfrm/xfrm_policy.c @@ -26,6 +26,7 @@ #include <linux/cache.h> #include <linux/audit.h> #include <net/dst.h> +#include <net/flow.h> #include <net/xfrm.h> #include <net/ip.h> #ifdef CONFIG_XFRM_STATISTICS |