summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_auth.c
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2011-07-05 18:43:54 +0000
committercperciva <cperciva@FreeBSD.org>2011-07-05 18:43:54 +0000
commit7329900ba0be8322fcfb13ca0708c2a7d2398b4c (patch)
tree39a1e1c4e1a46f04e7138db7054a161dd4d17005 /sys/netinet/sctp_auth.c
parent52539f62b4594a26512f2452204d41d1b277552d (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud