]> Pileus Git - ~andy/linux/commit
VXLAN: Fix vxlan stats handling.
authorPravin B Shelar <pshelar@nicira.com>
Mon, 25 Mar 2013 14:49:46 +0000 (14:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Mar 2013 16:27:18 +0000 (12:27 -0400)
commite817104525577413301b3cb709a6472e0cf44a6a
tree892b9597e1b4adeb0f2914cfb5dbcf0824407148
parentfd58156e456d9f68fe04486be378d0bc93641532
VXLAN: Fix vxlan stats handling.

Fixes bug in VXLAN code where is iptunnel_xmit() called with NULL
dev->tstats.
This bug was introduced in commit 6aed0c8bf7d2f389b (tunnel: use
iptunnel_xmit() again).

Following patch fixes bug by setting dev->tstats. It uses ip_tunnel
module code to share stats function.

CC: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/Kconfig
drivers/net/vxlan.c