diff options
author | Hariprasad Shenai <hariprasad@chelsio.com> | 2015-12-17 13:45:10 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-17 15:51:05 -0500 |
commit | 749cb5fe48bb29f55f2cdde4d76183340e11547e (patch) | |
tree | 243b06163580ae71c48f1149e2dd5a64794fff9e /drivers/net/ethernet/chelsio/cxgb4/l2t.h | |
parent | 9baeb9d7d8f61f7786416e4f001d738750d2aa24 (diff) |
cxgb4: Replace arpq_head/arpq_tail with SKB double link-list code
Based on original work by Michael Werner <werner@chelsio.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/l2t.h')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/l2t.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/l2t.h b/drivers/net/ethernet/chelsio/cxgb4/l2t.h index 17803a871ae2..4e2d47ac102b 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/l2t.h +++ b/drivers/net/ethernet/chelsio/cxgb4/l2t.h @@ -76,8 +76,7 @@ struct l2t_entry { struct neighbour *neigh; /* associated neighbour */ struct l2t_entry *first; /* start of hash chain */ struct l2t_entry *next; /* next l2t_entry on chain */ - struct sk_buff *arpq_head; /* queue of packets awaiting resolution */ - struct sk_buff *arpq_tail; + struct sk_buff_head arpq; /* packet queue awaiting resolution */ spinlock_t lock; atomic_t refcnt; /* entry reference count */ u16 hash; /* hash bucket the entry is on */ |