Re: Linux 2.2.* SO_RCVBUF / SO_SNDBUF annoyance ?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 19 Sep 1999 20:35:15 +0100 (BST)


> was there any response to the issue brought up on the list a while ago
> about 2.2.* using 2x the specified value for the SND/RCV buffer?

Its a feature

> sk->sndbuf = max(val*2,2048);
>
> this seems pretty retarted to me, is there any reason to give the user twice the
> value they asked for?

Because it gives approximately the same behaviour as on BSD

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