summaryrefslogtreecommitdiffstats
path: root/sys/fs/tmpfs/tmpfs_vnops.c
diff options
context:
space:
mode:
authorqingli <qingli@FreeBSD.org>2011-09-05 17:54:19 +0000
committerqingli <qingli@FreeBSD.org>2011-09-05 17:54:19 +0000
commita3cb964a3002dd8e8a598b323323b20d12d3466d (patch)
treef31486bc47cf00d994e817ba6ce5ccd69e9f1c57 /sys/fs/tmpfs/tmpfs_vnops.c
parenteb99022db126133f178247a50376dc31f336349d (diff)
downloadFreeBSD-src-a3cb964a3002dd8e8a598b323323b20d12d3466d.zip
FreeBSD-src-a3cb964a3002dd8e8a598b323323b20d12d3466d.tar.gz
The maximum read size of incoming packets is done in 1024-byte increments.
The current code was rounding down the maximum frame size instead of routing up, resulting in a read size of 1024 bytes, in the non-jumbo frame case, and splitting the packets across multiple mbufs. Consequently the above problem exposed another issue, which is when packets were splitted across multiple mbufs, and all of the mbufs in the chain have the M_PKTHDR flag set. Submitted by: original patch by Ray Ruvinskiy at BlueCoat dot com Reviewed by: jfv, kmacy, rwatson Approved by: re (rwatson) MFC after: 5 days
Diffstat (limited to 'sys/fs/tmpfs/tmpfs_vnops.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud