lkml.org 
[lkml]   [1998]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: UDP bugs
David S. Miller writes:
> Date: Sun, 13 Dec 1998 20:18:58 +1100
> From: Richard Gooch <rgooch@atnf.csiro.au>
>
> David S. Miller writes:
> > Are you considering the size of IP and UDP headers? Those must be
> > factored in.
>
> I was under the impression that the payload capacity was 65535
> bytes. And if it were true that the headers steal capacity, then why
> can Solaris 2.5.1 send a full 65535 byte packet?
>
> Sounds like you found a bug in Solaris, not in Linux...

So how do you speculate that they are managing a greater packet size?

Also, it doesn't explain why the input limit on 2.0.36 is 51792 bytes
coming from Solaris 2.5.1 and 51797 bytes coming from Linux 2.1.131.
It's no longer in the realm of a few dozen bytes of protocol overhead!

Further, if the limit is 65535 minus X bytes of header, shouldn't the
implementation return EMSGSIZE if the write(2) call exceeds 65535-X ?

Regards,

Richard....

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.057 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site