Thread (5 messages) flat view 5 messages, 2 authors, 2014-11-12

Re: [PATCH net-next] hyperv: Add processing of MTU reduced by the host

From: David Miller <davem@davemloft.net>
Date: 2014-11-12 19:48:24
Also in: lkml

From: Haiyang Zhang <haiyangz@microsoft.com>
Date: Tue, 11 Nov 2014 15:27:52 -0800
-	if (mtu < 68 || mtu > limit)
+	if (mtu < ETH_DATA_LEN || mtu > limit)
 		return -EINVAL;
This is not correct.

The test is against the minimally supported MTU, which should
be 68 not ETH_DATA_LEN which is 1500.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help