Florian Fainelli 31cf344caf r6040: use ETH_ZLEN instead of MISR for SKB length checking
Ever since this driver was merged the following code was included:

if (skb->len < MISR)
	skb->len = MISR;

MISR is defined to 0x3C which is also equivalent to ETH_ZLEN, but use
ETH_ZLEN directly which is exactly what we want to be checking for.

Reported-by: Marc Volovic <marcv@ezchip.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-01-16 16:22:54 -08:00
..
2013-11-07 19:24:20 +01:00
2013-12-12 11:05:19 -08:00
2013-12-08 18:47:25 -08:00
2013-12-11 10:56:21 -05:00
2014-01-13 14:29:49 -08:00
2013-11-15 14:05:15 -08:00
2014-01-15 14:51:22 -08:00
2013-12-06 15:22:05 -05:00
2013-12-10 08:48:15 +01:00
2013-12-20 09:34:54 -08:00