diff options
Diffstat (limited to 'drivers/net/ibm_newemac')
-rw-r--r-- | drivers/net/ibm_newemac/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ibm_newemac/core.c b/drivers/net/ibm_newemac/core.c index 8ea500961871..7a5aabd01e05 100644 --- a/drivers/net/ibm_newemac/core.c +++ b/drivers/net/ibm_newemac/core.c | |||
@@ -1534,7 +1534,7 @@ static inline int emac_rx_sg_append(struct emac_instance *dev, int slot) | |||
1534 | dev_kfree_skb(dev->rx_sg_skb); | 1534 | dev_kfree_skb(dev->rx_sg_skb); |
1535 | dev->rx_sg_skb = NULL; | 1535 | dev->rx_sg_skb = NULL; |
1536 | } else { | 1536 | } else { |
1537 | cacheable_memcpy(dev->rx_sg_skb->tail, | 1537 | cacheable_memcpy(skb_tail_pointer(dev->rx_sg_skb), |
1538 | dev->rx_skb[slot]->data, len); | 1538 | dev->rx_skb[slot]->data, len); |
1539 | skb_put(dev->rx_sg_skb, len); | 1539 | skb_put(dev->rx_sg_skb, len); |
1540 | emac_recycle_rx_skb(dev, slot, len); | 1540 | emac_recycle_rx_skb(dev, slot, len); |