summaryrefslogtreecommitdiff
path: root/include/net/sock.h
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-11-04 14:45:58 -0800
committerDavid S. Miller <davem@davemloft.net>2008-11-04 14:45:58 -0800
commitd5f642384e9da75393160350f75bbb9a527f7c58 (patch)
tree098e581485de2878ce716f7a6b45af2e89505551 /include/net/sock.h
parentd2ad3ca88da02baeccd5216780f1fe983c6953ba (diff)
net: #ifdef ->sk_security
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sock.h')
-rw-r--r--include/net/sock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/sock.h b/include/net/sock.h
index 941ad7c830a3..08291c1be41e 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -271,7 +271,9 @@ struct sock {
struct sk_buff *sk_send_head;
__u32 sk_sndmsg_off;
int sk_write_pending;
+#ifdef CONFIG_SECURITY
void *sk_security;
+#endif
__u32 sk_mark;
/* XXX 4 bytes hole on 64 bit */
void (*sk_state_change)(struct sock *sk);