diff options
author | Pravin B Shelar <pshelar@nicira.com> | 2013-03-25 15:49:46 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-26 17:27:18 +0100 |
commit | e817104525577413301b3cb709a6472e0cf44a6a (patch) | |
tree | 892b9597e1b4adeb0f2914cfb5dbcf0824407148 /drivers/net/Kconfig | |
parent | IPIP: Use ip-tunneling code. (diff) | |
download | linux-e817104525577413301b3cb709a6472e0cf44a6a.tar.xz linux-e817104525577413301b3cb709a6472e0cf44a6a.zip |
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>
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r-- | drivers/net/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 87f1d39ca551..3835321b8cf3 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -151,6 +151,7 @@ config MACVTAP config VXLAN tristate "Virtual eXtensible Local Area Network (VXLAN)" depends on INET + select NET_IP_TUNNEL ---help--- This allows one to create vxlan virtual interfaces that provide Layer 2 Networks over Layer 3 Networks. VXLAN is often used |