Commit b0715ba5 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[netdrvr eexpress] fix buglet in skb_padto conversion

parent 1b92bd3f
......@@ -650,7 +650,7 @@ static int eexp_xmit(struct sk_buff *buf, struct net_device *dev)
buf = skb_padto(buf, ETH_ZLEN);
if (buf == NULL)
return 0;
length = buf->len;
length = ETH_ZLEN;
}
disable_irq(dev->irq);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment