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:
d0733d2
)
vlan: fix typo in vlan_dev_hard_start_xmit()
author
Wei Yongjun
<
[email protected]
>
Tue, 31 May 2011 22:53:19 +0000
(22:53 +0000)
committer
David S. Miller
<
[email protected]
>
Thu, 2 Jun 2011 04:08:47 +0000
(21:08 -0700)
commit
4af429d29b341bb1735f04c2fb960178ed5d52e7
(vlan: lockless
transmit path) have a typo in vlan_dev_hard_start_xmit(), using
u64_stats_update_begin() to end the stat update, it should be
u64_stats_update_end().
Signed-off-by: Wei Yongjun <
[email protected]
>
Reviewed-by: WANG Cong <
[email protected]
>
Acked-by: Eric Dumazet <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/8021q/vlan_dev.c
patch
|
blob
|
history
diff --git
a/net/8021q/vlan_dev.c
b/net/8021q/vlan_dev.c
index f247f5bff88ddb61d252951f57a965789e63f45d..7ea5cf9ea08a9db7f3b6edaf083f14030914463c 100644
(file)
--- a/
net/8021q/vlan_dev.c
+++ b/
net/8021q/vlan_dev.c
@@
-165,7
+165,7
@@
static netdev_tx_t vlan_dev_hard_start_xmit(struct sk_buff *skb,
u64_stats_update_begin(&stats->syncp);
stats->tx_packets++;
stats->tx_bytes += len;
- u64_stats_update_
begin
(&stats->syncp);
+ u64_stats_update_
end
(&stats->syncp);
} else {
this_cpu_inc(vlan_dev_info(dev)->vlan_pcpu_stats->tx_dropped);
}