Skip to content

Commit

Permalink
dpif-netdev: Avoids repeated addition of DP_STAT_LOST.
Browse files Browse the repository at this point in the history
CC: Daniele Di Proietto <[email protected]>
Fixes: 8aaa125 ("dpif-netdev: Share emc and fast path output batches.")
Signed-off-by: nickcooper-zhangtonghao <[email protected]>
Acked-by: Ben Pfaff <[email protected]>
Signed-off-by: Daniele Di Proietto <[email protected]>
  • Loading branch information
xpu22 authored and ddiproietto committed Jan 17, 2017
1 parent ea58c96 commit aeff7d9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/dpif-netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -4258,7 +4258,6 @@ fast_path_processing(struct dp_netdev_pmd_thread *pmd,
ofpbuf_uninit(&actions);
ofpbuf_uninit(&put_actions);
fat_rwlock_unlock(&dp->upcall_rwlock);
dp_netdev_count_packet(pmd, DP_STAT_LOST, lost_cnt);
} else if (OVS_UNLIKELY(any_miss)) {
for (i = 0; i < cnt; i++) {
if (OVS_UNLIKELY(!rules[i])) {
Expand Down

0 comments on commit aeff7d9

Please sign in to comment.