diff options
author | cperciva <cperciva@FreeBSD.org> | 2011-07-05 18:43:54 +0000 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2011-07-05 18:43:54 +0000 |
commit | 7329900ba0be8322fcfb13ca0708c2a7d2398b4c (patch) | |
tree | 39a1e1c4e1a46f04e7138db7054a161dd4d17005 /sys/netinet/sctp_auth.c | |
parent | 52539f62b4594a26512f2452204d41d1b277552d (diff) | |
download | FreeBSD-src-7329900ba0be8322fcfb13ca0708c2a7d2398b4c.zip FreeBSD-src-7329900ba0be8322fcfb13ca0708c2a7d2398b4c.tar.gz |
Don't allow lro->len to exceed 65535, as this will result in overflow
when len is inserted back into the synthetic IP packet and cause a
multiple of 2^16 bytes of TCP "packet loss".
This improves Linux->FreeBSD netperf bandwidth by a factor of 300 in
testing on Amazon EC2.
Reviewed by: jfv
MFC after: 2 weeks
Diffstat (limited to 'sys/netinet/sctp_auth.c')
0 files changed, 0 insertions, 0 deletions