From: Vlad Yasevich Date: Sat, 5 Apr 2014 06:25:26 +0000 (+0000) Subject: e1000e: Correctly include VLAN_HLEN when changing interface MTU X-Git-Tag: omap-for-v3.16/fixes-against-rc1~214^2~63^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c751a3d58cf2d;p=pandora-kernel.git e1000e: Correctly include VLAN_HLEN when changing interface MTU When changing the interface mtu, the driver starts with a value that doesn't include VLAN_HLEN. Later tests in the driver set the rx_buffer_len based on the mtu. As a result, when the user increases the mtu to 1504 (to support 802.1AD for example), the driver rx_buffer_len does not change and frames longer the 1522 bytes are rejected as too long. Include VLAN_HLEN from the start so that an user mtu greater then 1500 bytes is correctly reflected in the driver rx_buffer_len. CC: e1000-devel@lists.sourceforge.net Signed-off-by: Vlad Yasevich Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed