diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2013-06-14 04:58:31 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-17 20:12:20 -0400 |
commit | b32369f117bbdb009a6b410ec0926a88a83002b4 (patch) | |
tree | ed0df1a51520cf48f241370a9ca974ee79efa3c9 /drivers/atm | |
parent | dda9192851dcf904b4d1095480834f2a4f814ae3 (diff) |
net, atm/ambassader: convert skb->tail into skb_tail_pointer(skb)
The change set of 27a884dc, "[SK_BUFF]: Convert skb->tail to sk_buff_data_t"
converted skb->tail from pointer into sk_buff_data_t. It missed skb->tail
in drivers/atm/ambassador.c.
This patch converts skb->tail into skb_tail_pointer(skb).
Found by inspection. Compile tested only.
Cc: Simon Horman <horms@verge.net.au>
Cc: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Reviewed-by: Simon Horman <horms@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm')
-rw-r--r-- | drivers/atm/ambassador.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/atm/ambassador.c b/drivers/atm/ambassador.c index 77a7480dc4d1..62a76076b548 100644 --- a/drivers/atm/ambassador.c +++ b/drivers/atm/ambassador.c | |||
@@ -1403,7 +1403,7 @@ static void amb_free_rx_skb (struct atm_vcc * atm_vcc, struct sk_buff * skb) { | |||
1403 | rx.host_address = cpu_to_be32 (virt_to_bus (skb->data)); | 1403 | rx.host_address = cpu_to_be32 (virt_to_bus (skb->data)); |
1404 | 1404 | ||
1405 | skb->data = skb->head; | 1405 | skb->data = skb->head; |
1406 | skb->tail = skb->head; | 1406 | skb_reset_tail_pointer(skb); |
1407 | skb->len = 0; | 1407 | skb->len = 0; |
1408 | 1408 | ||
1409 | if (!rx_give (dev, &rx, pool)) { | 1409 | if (!rx_give (dev, &rx, pool)) { |