diff options
author | Amit Pundir <amit.pundir@linaro.org> | 2015-07-07 00:28:49 +0530 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2015-11-19 12:36:41 -0800 |
commit | a41bb54bd8b32b63204746dcb275a3fdea09f4c2 (patch) | |
tree | 9c62bf48de8361f1732d08d5b659f1f605c3c5b7 /include/uapi | |
parent | 703653d46f08be3e0d90915cad80f19129cf9416 (diff) | |
download | v4.1-a41bb54bd8b32b63204746dcb275a3fdea09f4c2.tar.gz |
netfilter: xt_qtaguid: xt_socket: build fixes
Add missing header <linux/miscdevice.h> and use
xt_socket_lookup_slow_v* instead of xt_socket_get*_sk
in xt_qtaguid.c.
Fix xt_socket_lookup_slow_v* functions in xt_socket.c
and declare them in xt_socket.h
Change-Id: I55819b2d4ffa82a2be20995c87d28fb5cc77b5ba
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/netfilter/xt_socket.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/uapi/linux/netfilter/xt_socket.h b/include/uapi/linux/netfilter/xt_socket.h index 55076a32bdf..2565a20ea36 100644 --- a/include/uapi/linux/netfilter/xt_socket.h +++ b/include/uapi/linux/netfilter/xt_socket.h @@ -18,9 +18,9 @@ struct xt_socket_mtinfo2 { }; #define XT_SOCKET_FLAGS_V2 (XT_SOCKET_TRANSPARENT | XT_SOCKET_NOWILDCARD) -struct sock *xt_socket_get4_sk(const struct sk_buff *skb, - struct xt_action_param *par); -struct sock *xt_socket_get6_sk(const struct sk_buff *skb, - struct xt_action_param *par); +struct sock *xt_socket_lookup_slow_v4(const struct sk_buff *skb, + const struct net_device *indev); +struct sock *xt_socket_lookup_slow_v6(const struct sk_buff *skb, + const struct net_device *indev); #endif /* _XT_SOCKET_H */ |