aboutsummaryrefslogtreecommitdiff
path: root/lib/bitrev.c
diff options
context:
space:
mode:
authorBrice Goglin <brice@myri.com>2006-12-11 11:27:19 +0100
committerJeff Garzik <jeff@garzik.org>2006-12-11 09:54:06 -0500
commit13348beee529cd1200deeac161e1b2de0705b495 (patch)
treea68281b8d47b665199481a30431883ed8fed9dd9 /lib/bitrev.c
parentde3c4507047f2457359551c49b093669acb4f190 (diff)
[PATCH] myri10ge: fix big_bytes in case of vlan frames
Fix sizing of big_bytes in the case of vlan frames. The 4 VLAN_HLEN bytes were omitted, leading to sizing the big buffer 4 bytes smaller than it should be. Due to how rx buffers are carved from pages, this was harmless for the common (9000, 1500) byte MTUs, but could lead to data corruption for some MTUs. Signed-off-by: Brice Goglin <brice@myri.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'lib/bitrev.c')
0 files changed, 0 insertions, 0 deletions