aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cassini.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/cassini.c')
-rw-r--r--drivers/net/cassini.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/cassini.c b/drivers/net/cassini.c
index 39f36aa05aa8..565a54f1d06a 100644
--- a/drivers/net/cassini.c
+++ b/drivers/net/cassini.c
@@ -2915,8 +2915,7 @@ static int cas_start_xmit(struct sk_buff *skb, struct net_device *dev)
2915 */ 2915 */
2916 static int ring; 2916 static int ring;
2917 2917
2918 skb = skb_padto(skb, cp->min_frame_size); 2918 if (skb_padto(skb, cp->min_frame_size))
2919 if (!skb)
2920 return 0; 2919 return 0;
2921 2920
2922 /* XXX: we need some higher-level QoS hooks to steer packets to 2921 /* XXX: we need some higher-level QoS hooks to steer packets to