> >diff --git a/drivers/net/sis900.c b/drivers/net/sis900.c
> >index a6a0f09..7e44939 100644
> >--- a/drivers/net/sis900.c
> >+++ b/drivers/net/sis900.c
> >@@ -1754,6 +1754,7 @@ static int sis900_rx(struct net_device *net_dev)
> >                     sis_priv->rx_ring[entry].cmdsts = RX_BUF_SIZE;
> >             } else {
> >                     struct sk_buff * skb;
> >+                    struct sk_buff * rx_skb;
> > 
> >                     pci_unmap_single(sis_priv->pci_dev,
> >                             sis_priv->rx_ring[entry].bufptr, RX_BUF_SIZE,
> >@@ -1787,10 +1788,10 @@ static int sis900_rx(struct net_device *net_dev)
> >                     }
> > 
> >                     /* give the socket buffer to upper layers */
> >-                    skb = sis_priv->rx_skbuff[entry];
> >-                    skb_put(skb, rx_size);
> >-                    skb->protocol = eth_type_trans(skb, net_dev);
> >-                    netif_rx(skb);
> >+                    rx_skb = sis_priv->rx_skbuff[entry];
> >+                    skb_put(rx_skb, rx_size);
> >+                    skb->protocol = eth_type_trans(rx_skb, net_dev);
> 
> applied this, and the one-line fix to this
> 
Thanks Jeff, sorry again for the headache.  I'll be more careful in the future
Neil

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to