From: Florian Fainelli Date: Wed, 15 Jan 2014 21:04:26 +0000 (-0800) Subject: r6040: use ETH_ZLEN instead of MISR for SKB length checking X-Git-Tag: v3.14-rc1~94^2~128 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31cf344caf444ca7411d89c8ac907d886eeab1a7;p=pandora-kernel.git 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 Signed-off-by: Florian Fainelli Signed-off-by: David S. Miller --- Reading git-diff-tree failed