git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git]
/
drivers
/
net
/
arm
/
ether1.c
diff --git
a/drivers/net/arm/ether1.c
b/drivers/net/arm/ether1.c
index
312955d
..
36475eb
100644
(file)
--- a/
drivers/net/arm/ether1.c
+++ b/
drivers/net/arm/ether1.c
@@
-700,7
+700,8
@@
ether1_sendpacket (struct sk_buff *skb, struct net_device *dev)
}
if (skb->len < ETH_ZLEN) {
- if (skb_padto(skb, ETH_ZLEN))
+ skb = skb_padto(skb, ETH_ZLEN);
+ if (skb == NULL)
goto out;
}