|
@@ -1392,7 +1392,7 @@ static void ipoib_cm_tx_reap(struct work_struct *work)
|
|
|
|
|
|
while (!list_empty(&priv->cm.reap_list)) {
|
|
while (!list_empty(&priv->cm.reap_list)) {
|
|
p = list_entry(priv->cm.reap_list.next, typeof(*p), list);
|
|
p = list_entry(priv->cm.reap_list.next, typeof(*p), list);
|
|
- list_del(&p->list);
|
|
|
|
|
|
+ list_del_init(&p->list);
|
|
spin_unlock_irqrestore(&priv->lock, flags);
|
|
spin_unlock_irqrestore(&priv->lock, flags);
|
|
netif_tx_unlock_bh(dev);
|
|
netif_tx_unlock_bh(dev);
|
|
ipoib_cm_tx_destroy(p);
|
|
ipoib_cm_tx_destroy(p);
|