aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-11-04 17:45:58 -0500
committerDavid S. Miller <davem@davemloft.net>2008-11-04 17:45:58 -0500
commitd5f642384e9da75393160350f75bbb9a527f7c58 (patch)
tree098e581485de2878ce716f7a6b45af2e89505551
parentd2ad3ca88da02baeccd5216780f1fe983c6953ba (diff)
net: #ifdef ->sk_security
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-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 {
271 struct sk_buff *sk_send_head; 271 struct sk_buff *sk_send_head;
272 __u32 sk_sndmsg_off; 272 __u32 sk_sndmsg_off;
273 int sk_write_pending; 273 int sk_write_pending;
274#ifdef CONFIG_SECURITY
274 void *sk_security; 275 void *sk_security;
276#endif
275 __u32 sk_mark; 277 __u32 sk_mark;
276 /* XXX 4 bytes hole on 64 bit */ 278 /* XXX 4 bytes hole on 64 bit */
277 void (*sk_state_change)(struct sock *sk); 279 void (*sk_state_change)(struct sock *sk);