diff options
author | Florian Fainelli <florian@openwrt.org> | 2014-01-16 01:04:26 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-17 04:22:54 +0400 |
commit | 31cf344caf444ca7411d89c8ac907d886eeab1a7 (patch) | |
tree | c8cad9f43e4df16ff955b2d9b1da60f72965f219 /include/math-emu | |
parent | 4f8d9f3ce0e52adf2cb4e0661f06ef8cfdc97cfe (diff) | |
download | linux-31cf344caf444ca7411d89c8ac907d886eeab1a7.tar.xz |
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>
Diffstat (limited to 'include/math-emu')
0 files changed, 0 insertions, 0 deletions