patch-2.4.7 linux/drivers/net/acenic.c
Next file: linux/drivers/net/aironet4500.h
Previous file: linux/drivers/net/ac3200.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Jul 4 14:41:33 2001
- Orig file:
v2.4.6/linux/drivers/net/acenic.c
- Orig date:
Tue Jul 3 17:08:20 2001
diff -u --recursive --new-file v2.4.6/linux/drivers/net/acenic.c linux/drivers/net/acenic.c
@@ -2731,7 +2731,7 @@
struct ace_private *ap = dev->priv;
struct ace_regs *regs = ap->regs;
- if ((new_mtu < 68) || (new_mtu > ACE_JUMBO_MTU))
+ if (new_mtu > ACE_JUMBO_MTU)
return -EINVAL;
writel(new_mtu + ETH_HLEN + 4, ®s->IfMtu);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)