net: #ifdef ->sk_security
authorAlexey Dobriyan <adobriyan@gmail.com>
Tue, 4 Nov 2008 22:45:58 +0000 (14:45 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Nov 2008 22:45:58 +0000 (14:45 -0800)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h

index 941ad7c830a392d87d1df847e1dabfb642ee52dd..08291c1be41eb4143b8fd60326838548690e3532 100644 (file)
@@ -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);