aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sgiseeq.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sgiseeq.c')
-rw-r--r--drivers/net/sgiseeq.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/sgiseeq.c b/drivers/net/sgiseeq.c
index ed999d31f1fa..37f6a00cde17 100644
--- a/drivers/net/sgiseeq.c
+++ b/drivers/net/sgiseeq.c
@@ -592,8 +592,10 @@ static int sgiseeq_start_xmit(struct sk_buff *skb, struct net_device *dev)
592 /* Setup... */ 592 /* Setup... */
593 len = skb->len; 593 len = skb->len;
594 if (len < ETH_ZLEN) { 594 if (len < ETH_ZLEN) {
595 if (skb_padto(skb, ETH_ZLEN)) 595 if (skb_padto(skb, ETH_ZLEN)) {
596 spin_unlock_irqrestore(&sp->tx_lock, flags);
596 return NETDEV_TX_OK; 597 return NETDEV_TX_OK;
598 }
597 len = ETH_ZLEN; 599 len = ETH_ZLEN;
598 } 600 }
599 601