git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
include
/
linux
/
filter.h
diff --git
a/include/linux/filter.h
b/include/linux/filter.h
index
bfbb745
..
e5234d8
100644
(file)
--- a/
include/linux/filter.h
+++ b/
include/linux/filter.h
@@
-5,6
+5,8
@@
#ifndef __LINUX_FILTER_H__
#define __LINUX_FILTER_H__
#ifndef __LINUX_FILTER_H__
#define __LINUX_FILTER_H__
+#include <linux/compiler.h>
+
/*
* Current version of the filter code architecture.
*/
/*
* Current version of the filter code architecture.
*/
@@
-27,7
+29,7
@@
struct sock_filter /* Filter block */
struct sock_fprog /* Required for SO_ATTACH_FILTER. */
{
unsigned short len; /* Number of filter blocks */
struct sock_fprog /* Required for SO_ATTACH_FILTER. */
{
unsigned short len; /* Number of filter blocks */
- struct sock_filter
*filter;
+ struct sock_filter
__user
*filter;
};
#ifdef __KERNEL__
};
#ifdef __KERNEL__