netdev
[Top] [All Lists]

Re: [PATCH 2/11] [NET] Convert sk_zapped into SOCK_ZAPPED flag

To: Thomas Graf <tgraf@xxxxxxx>
Subject: Re: [PATCH 2/11] [NET] Convert sk_zapped into SOCK_ZAPPED flag
From: Patrick McHardy <kaber@xxxxxxxxx>
Date: Wed, 09 Mar 2005 20:54:09 +0100
Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <20050309194711.GJ31837@xxxxxxxxxxxxxx>
References: <20050309194521.GH31837@xxxxxxxxxxxxxx> <20050309194711.GJ31837@xxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.5) Gecko/20050106 Debian/1.7.5-1
Thomas Graf wrote:
-       volatile unsigned char  sk_zapped;
        unsigned char           sk_shutdown;
        unsigned char           sk_use_write_queue;
        unsigned char           sk_userlocks;
@@ -391,6 +389,7 @@
        SOCK_DESTROY,
        SOCK_BROADCAST,
        SOCK_TIMESTAMP,
+       SOCK_ZAPPED,

What about volatile ? sock_set_flag() uses __set_bit(), so its not
the same.

Regards
Patrick

<Prev in Thread] Current Thread [Next in Thread>