]> Pileus Git - ~andy/linux/commit
net: unify the pcpu_tstats and br_cpu_netstats as one
authorLi RongQing <roy.qing.li@gmail.com>
Sat, 4 Jan 2014 05:57:59 +0000 (13:57 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Jan 2014 01:10:24 +0000 (20:10 -0500)
commit8f84985fec10de64a6b4cdfea45f2b0ab8f07c78
tree03d58e9d72384e8066a6232c793b3ee4242668f6
parent653864d9dd6ae26d884abfd53420e61e7383b1da
net: unify the pcpu_tstats and br_cpu_netstats as one

They are same, so unify them as one, pcpu_sw_netstats.

Define pcpu_sw_netstat in netdevice.h, remove pcpu_tstats
from if_tunnel and remove br_cpu_netstats from br_private.h

Cc: Cong Wang <xiyou.wangcong@gmail.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
16 files changed:
drivers/net/vxlan.c
include/linux/if_tunnel.h
include/linux/netdevice.h
include/net/ip6_tunnel.h
include/net/ip_tunnels.h
net/bridge/br_device.c
net/bridge/br_input.c
net/bridge/br_private.h
net/ipv4/ip_tunnel.c
net/ipv4/ip_vti.c
net/ipv6/ip6_gre.c
net/ipv6/ip6_tunnel.c
net/ipv6/ip6_vti.c
net/ipv6/sit.c
net/openvswitch/vport.c
net/openvswitch/vport.h