Running the same code on Solaris and on DEC UNIX reports back the
exact size I set.
Looking at the code it seems that the *2 should not be there:
int sock_setsockopt(...
case SO_SNDBUF:
sk->sndbuf = max(val*2,SOCK_MIN_SNDBUF);
case SO_RCVBUF:
/* FIXME: is this lower bound the right one? */
sk->rcvbuf = max(val*2,SOCK_MIN_RCVBUF);
break;
-- Manfred Bartz - 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/