projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa91340
)
igbvf: double increment nr_frags
author
Koki Sanagi
<sanagi.koki@jp.fujitsu.com>
Tue, 27 Apr 2010 01:01:39 +0000
(
01:01
+0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 27 Apr 2010 19:53:27 +0000
(12:53 -0700)
There is no need to increment nr_frags because skb_fill_page_desc increments
it.
Signed-off-by: Koki Sanagi <sanagi.koki@jp.fujitsu.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igbvf/netdev.c
patch
|
blob
|
history
diff --git
a/drivers/net/igbvf/netdev.c
b/drivers/net/igbvf/netdev.c
index cc2309027e6a196ed65e8d2471dc3a8fbe3d8f16..9ac3f942819595ccc7a9ee77afa04fd8d47b3e0e 100644
(file)
--- a/
drivers/net/igbvf/netdev.c
+++ b/
drivers/net/igbvf/netdev.c
@@
-289,7
+289,7
@@
static bool igbvf_clean_rx_irq(struct igbvf_adapter *adapter,
PCI_DMA_FROMDEVICE);
buffer_info->page_dma = 0;
- skb_fill_page_desc(skb, skb_shinfo(skb)->nr_frags
++
,
+ skb_fill_page_desc(skb, skb_shinfo(skb)->nr_frags,
buffer_info->page,
buffer_info->page_offset,
length);