summaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb4/l2t.c
diff options
context:
space:
mode:
authorDimitris Michailidis <dm@chelsio.com>2010-06-18 10:05:29 +0000
committerDavid S. Miller <davem@davemloft.net>2010-06-18 22:08:36 -0700
commit204dc3c0b1bea10a7d811970fd41ceabaef31267 (patch)
treee2d3879455ff3c6226ffea439275a21f4edefb39 /drivers/net/cxgb4/l2t.c
parent02b5fb8e14923ff9111de1a00004ccd593adaedb (diff)
cxgb4: implement EEH
Implement the pci_error_handlers methods for EEH. Signed-off-by: Dimitris Michailidis <dm@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb4/l2t.c')
-rw-r--r--drivers/net/cxgb4/l2t.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/cxgb4/l2t.c b/drivers/net/cxgb4/l2t.c
index 9f96724a133..5b990d24cca 100644
--- a/drivers/net/cxgb4/l2t.c
+++ b/drivers/net/cxgb4/l2t.c
@@ -310,6 +310,13 @@ static void t4_l2e_free(struct l2t_entry *e)
neigh_release(e->neigh);
e->neigh = NULL;
}
+ while (e->arpq_head) {
+ struct sk_buff *skb = e->arpq_head;
+
+ e->arpq_head = skb->next;
+ kfree(skb);
+ }
+ e->arpq_tail = NULL;
}
spin_unlock_bh(&e->lock);