From: Haiyang Zhang <haiya...@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.
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to