Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 112176
b: refs/heads/master
c: 822f1a5
h: refs/heads/master
v: v3
  • Loading branch information
Francois Romieu authored and David S. Miller committed Oct 8, 2008
1 parent e29454e commit 41f66d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 87241840b214734c023bda83372059de3f7eeabd
refs/heads/master: 822f1a57d2ad957ae16b987115251539876aef26
4 changes: 2 additions & 2 deletions trunk/drivers/net/via-velocity.c
Original file line number Diff line number Diff line change
Expand Up @@ -1272,7 +1272,7 @@ static void velocity_free_rd_ring(struct velocity_info *vptr)
continue;
pci_unmap_single(vptr->pdev, rd_info->skb_dma, vptr->rx.buf_sz,
PCI_DMA_FROMDEVICE);
rd_info->skb_dma = (dma_addr_t) NULL;
rd_info->skb_dma = 0;

dev_kfree_skb(rd_info->skb);
rd_info->skb = NULL;
Expand Down Expand Up @@ -1333,7 +1333,7 @@ static void velocity_free_td_ring_entry(struct velocity_info *vptr,
if (td_info->skb_dma[i]) {
pci_unmap_single(vptr->pdev, td_info->skb_dma[i],
td_info->skb->len, PCI_DMA_TODEVICE);
td_info->skb_dma[i] = (dma_addr_t) NULL;
td_info->skb_dma[i] = 0;
}
}
dev_kfree_skb(td_info->skb);
Expand Down

0 comments on commit 41f66d6

Please sign in to comment.