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:
56daf66
)
be2net: Use dev_consume_skb_any() in the non-drop path
author
Rick Jones
<rick.jones2@hp.com>
Thu, 28 Aug 2014 15:53:16 +0000
(08:53 -0700)
committer
David S. Miller
<davem@davemloft.net>
Sat, 30 Aug 2014 03:36:33 +0000
(20:36 -0700)
The be2net driver was still using dev_kfree_skb_any() in a "normal"
skb freeing path. This rather clutters perf top -G -e skb_kfree_skb
profiling.
Signed-off-by: Rick Jones <rick.jones2@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/emulex/benet/be_main.c
b/drivers/net/ethernet/emulex/benet/be_main.c
index 93ff8ef3935227c348d5bc8b20a6f0c4248ca570..42e9cea52bdcc58ff0837fc2418d68ab10233566 100644
(file)
--- a/
drivers/net/ethernet/emulex/benet/be_main.c
+++ b/
drivers/net/ethernet/emulex/benet/be_main.c
@@
-1991,7
+1991,7
@@
static u16 be_tx_compl_process(struct be_adapter *adapter,
queue_tail_inc(txq);
} while (cur_index != last_index);
- dev_
kfre
e_skb_any(sent_skb);
+ dev_
consum
e_skb_any(sent_skb);
return num_wrbs;
}