Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: lan78xx: Allow for VLAN headers in timeout.
The frame abort timeout being set by lan78xx_set_rx_max_frame_length didn't account for any VLAN headers, resulting in very low throughput if used with tagged VLANs. Use VLAN_ETH_HLEN instead of ETH_HLEN to correct for this. See raspberrypi/linux#2458 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
- Loading branch information