Do not increment if_opackets in if_output(). It might make sense to do
authormpi <mpi@openbsd.org>
Wed, 20 May 2015 08:28:54 +0000 (08:28 +0000)
committermpi <mpi@openbsd.org>
Wed, 20 May 2015 08:28:54 +0000 (08:28 +0000)
commit99afeb6445b157a48365b53af2b182d8e28ab57a
treebabf5159e596d004b6868223f32cc169e3734240
parentbb8235cbe9e8876efd5df1148c4072ded5b4b38e
Do not increment if_opackets in if_output().  It might make sense to do
that later but all drivers should be adapated.

Should fix a double output packet accounting, reported by Hrvoje Popovski.
sys/net/if.c
sys/net/if_tun.c
sys/net/if_vlan.c