diff options
author | David S. Miller <davem@davemloft.net> | 2008-09-22 01:36:49 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-22 01:36:49 -0400 |
commit | e9bb8fb0b6d61a822201537b25206a0ca34b9d1d (patch) | |
tree | 2bb2b45bd7f2e0826644e54cda957c22cd335aaa /drivers/block/aoe/aoenet.c | |
parent | 67fed45930fa31e92c11beb3a3dbf83a1a92a58d (diff) |
aoe: Use SKB interfaces for list management instead of home-grown stuff.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/block/aoe/aoenet.c')
-rw-r--r-- | drivers/block/aoe/aoenet.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/block/aoe/aoenet.c b/drivers/block/aoe/aoenet.c index 0c81ca731287..8fb26030eba8 100644 --- a/drivers/block/aoe/aoenet.c +++ b/drivers/block/aoe/aoenet.c | |||
@@ -95,15 +95,12 @@ mac_addr(char addr[6]) | |||
95 | } | 95 | } |
96 | 96 | ||
97 | void | 97 | void |
98 | aoenet_xmit(struct sk_buff *sl) | 98 | aoenet_xmit(struct sk_buff_head *queue) |
99 | { | 99 | { |
100 | struct sk_buff *skb; | 100 | struct sk_buff *skb, *tmp; |
101 | 101 | ||
102 | while ((skb = sl)) { | 102 | skb_queue_walk_safe(queue, skb, tmp) |
103 | sl = sl->next; | ||
104 | skb->next = skb->prev = NULL; | ||
105 | dev_queue_xmit(skb); | 103 | dev_queue_xmit(skb); |
106 | } | ||
107 | } | 104 | } |
108 | 105 | ||
109 | /* | 106 | /* |