VXLAN: Fix vxlan stats handling.
Subsystems (2)
PATCH v4 3/5 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 <[email protected]>
Signed-off-by Pravin B Shelar <[email protected]>
--- drivers/net/Kconfig | 1 + drivers/net/vxlan.c | 72 +++++---------------------------------------------- 2 files changed, 8 insertions(+), 65 deletions(-)
drivers/net/Kconfig +1 -0
@@ -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
drivers/net/vxlan.c +7 -65
124 lines not on this page · raw message
Signature · 1 line
1.7.1