Re: [PATCH net-next] r8152: support jumbo frame for RTL8153

From: David Miller
Date: Wed Jul 09 2014 - 19:47:05 EST


From: Hayes Wang <hayeswang@xxxxxxxxxxx>
Date: Wed, 9 Jul 2014 16:07:02 +0800

> +static int rtl8152_change_mtu(struct net_device *dev, int new_mtu)
> +{
> + struct r8152 *tp = netdev_priv(dev);
> +
> + if (dev->mtu == new_mtu)
> + return 0;

This method will never be invoked if the MTU is actually not changing.

Please remove this test.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/