fix byte stats in kernel module

pull/81/head
Richard Fuchs 11 years ago
parent 5fa9902de9
commit c21193a329

@ -2256,7 +2256,7 @@ out:
g->stats.errors++; g->stats.errors++;
else { else {
g->stats.packets++; g->stats.packets++;
g->stats.bytes += skb->len; g->stats.bytes += datalen;
} }
spin_unlock_irqrestore(&g->stats_lock, flags); spin_unlock_irqrestore(&g->stats_lock, flags);

Loading…
Cancel
Save