[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1351011194.8609.2301.camel@edumazet-glaptop>
Date: Tue, 23 Oct 2012 18:53:14 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Pavel Emelyanov <xemul@...allels.com>
Cc: Linux Netdev List <netdev@...r.kernel.org>,
David Miller <davem@...emloft.net>
Subject: Re: [PATCH 3/3] sock-diag: Report shutdown for inet and unix
sockets
On Tue, 2012-10-23 at 20:28 +0400, Pavel Emelyanov wrote:
> Add ext bits for inet-diag and unix-diag and report sk_shutdown state.
>
> + if (ext & (1 << (INET_DIAG_SHUTDOWN - 1)))
> + if (sock_diag_put_shutdown(sk, skb, INET_DIAG_SHUTDOWN))
> + goto errout;
> +
I dont feel the need to make this conditional and consume one bit.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists