diff options
Diffstat (limited to 'include/linux/security.h')
-rw-r--r-- | include/linux/security.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/security.h b/include/linux/security.h index a1b7dbd127ff..25a079a7c3b3 100644 --- a/include/linux/security.h +++ b/include/linux/security.h | |||
@@ -1716,7 +1716,6 @@ struct security_operations { | |||
1716 | int (*tun_dev_attach_queue) (void *security); | 1716 | int (*tun_dev_attach_queue) (void *security); |
1717 | int (*tun_dev_attach) (struct sock *sk, void *security); | 1717 | int (*tun_dev_attach) (struct sock *sk, void *security); |
1718 | int (*tun_dev_open) (void *security); | 1718 | int (*tun_dev_open) (void *security); |
1719 | void (*skb_owned_by) (struct sk_buff *skb, struct sock *sk); | ||
1720 | #endif /* CONFIG_SECURITY_NETWORK */ | 1719 | #endif /* CONFIG_SECURITY_NETWORK */ |
1721 | 1720 | ||
1722 | #ifdef CONFIG_SECURITY_NETWORK_XFRM | 1721 | #ifdef CONFIG_SECURITY_NETWORK_XFRM |
@@ -2735,8 +2734,6 @@ int security_tun_dev_attach_queue(void *security); | |||
2735 | int security_tun_dev_attach(struct sock *sk, void *security); | 2734 | int security_tun_dev_attach(struct sock *sk, void *security); |
2736 | int security_tun_dev_open(void *security); | 2735 | int security_tun_dev_open(void *security); |
2737 | 2736 | ||
2738 | void security_skb_owned_by(struct sk_buff *skb, struct sock *sk); | ||
2739 | |||
2740 | #else /* CONFIG_SECURITY_NETWORK */ | 2737 | #else /* CONFIG_SECURITY_NETWORK */ |
2741 | static inline int security_unix_stream_connect(struct sock *sock, | 2738 | static inline int security_unix_stream_connect(struct sock *sock, |
2742 | struct sock *other, | 2739 | struct sock *other, |
@@ -2928,11 +2925,6 @@ static inline int security_tun_dev_open(void *security) | |||
2928 | { | 2925 | { |
2929 | return 0; | 2926 | return 0; |
2930 | } | 2927 | } |
2931 | |||
2932 | static inline void security_skb_owned_by(struct sk_buff *skb, struct sock *sk) | ||
2933 | { | ||
2934 | } | ||
2935 | |||
2936 | #endif /* CONFIG_SECURITY_NETWORK */ | 2928 | #endif /* CONFIG_SECURITY_NETWORK */ |
2937 | 2929 | ||
2938 | #ifdef CONFIG_SECURITY_NETWORK_XFRM | 2930 | #ifdef CONFIG_SECURITY_NETWORK_XFRM |