Re: cvs commit: src/sys/netinet raw_ip.c

[ Available lists | Index of cvs-src | Month of Mar 2007 | Week of 20 Mar 2007 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Bruce M. Simpson <bms@FreeBSD.org>
Date
20 Mar 2007 13:23:11
Subject
Re: cvs commit: src/sys/netinet raw_ip.c
Message-ID
45FFE03B.5030103@FreeBSD.org


[ Hide this part ]
Gleb Smirnoff wrote:
> We've got interfaces with even larger MTU. Why shouldn't we permit sending
> larger datagrams?
>
It seems reasonable to be consistent in the amount of send space we
reserve for both SOCK_RAW and SOCK_DGRAM in netinet.

I agree however that this is really the application's problem -- it
should probe for interface MTU and set SO_SENDBUF accordingly, and this
is what I originally told the submitter.

regards,
BMS



Elapsed time: 0.110 seconds