Re: [BUG] Suspected bug in getpeername and getsockname

Balbir Singh (balbir_soni@hotmail.com)
Thu, 17 Jan 2002 15:35:59 -0800


>From: "David S. Miller" <davem@redhat.com>
>
> Even if we do not pass the value passed by the user
> to the protocol specific code, I would like to cleanup
> the code in socket.c to check for invalid values
> upfront and save time and space in all the calls.
>
>Optimizing error cases never bears any fruit.

In this case, I certainly think it does. Could u give a
case as to why doing this would be harmful? I think the
only issue can be maintainability and doing the change
cleanly. But I think u are a good maintainer and will
accept the changes only if they are properly fixed.
Right :-)

Balbir

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/