netdev
[Top] [All Lists]

Re: [patch 10/13] net/socket.c::sys_bind() cleanup.

To: akpm@xxxxxxxx
Subject: Re: [patch 10/13] net/socket.c::sys_bind() cleanup.
From: "David S. Miller" <davem@xxxxxxxxxxxxx>
Date: Wed, 24 Nov 2004 00:27:09 -0800
Cc: jgarzik@xxxxxxxxx, netdev@xxxxxxxxxxx, akpm@xxxxxxxx, lcapitulino@xxxxxxxxxxxxxxxx
In-reply-to: <200411220644.iAM6i8900672@mail.osdl.org>
References: <200411220644.iAM6i8900672@mail.osdl.org>
Sender: netdev-bounce@xxxxxxxxxxx
On Sun, 21 Nov 2004 22:43:56 -0800
akpm@xxxxxxxx wrote:

> From: "Luiz Fernando N. Capitulino" <lcapitulino@xxxxxxxxxxxxxxxx>
> 
> net/socket.c::sys_bind() is a bit complex function, the patch below makes
> it more clear.
> 
> Signed-off-by: Luiz Capitulino <lcapitulino@xxxxxxxxxxxxxxxx>
> Signed-off-by: Andrew Morton <akpm@xxxxxxxx>

This was commented on to be buggy, or at least change behavior.
The "if (err >= 0)" tests were changed to flat "if (err)" tests.

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