Linux-kernel mailing list archive 1998-50,: Re: UDP bugs

# Re: UDP bugs

Richard Gooch (rgooch@atnf.csiro.au)
Sun, 13 Dec 1998 21:22:11 +1100

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Anthony Barbachan: "Re: SCSI opcodes"
- Previous message: Serguei Koubouchine: "Re: ARRGHH !!! Gated is broken again in 2.1.131 ..."
- In reply to: David S. Miller: "Re: UDP bugs"
- Next in thread: David S. Miller: "Re: 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/

- Next message: Anthony Barbachan: "Re: SCSI opcodes"
- Previous message: Serguei Koubouchine: "Re: ARRGHH !!! Gated is broken again in 2.1.131 ..."
- In reply to: David S. Miller: "Re: UDP bugs"
- Next in thread: David S. Miller: "Re: UDP bugs"