Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a322a1bc authored by Pravin B Shelar's avatar Pravin B Shelar Committed by David S. Miller
Browse files

geneve: Fix IPv6 xmit stats update.



Call to iptunnel_xmit_stats() is not required after udp-tunnel6-xmit.
By calling iptunnel_xmit_stats() results in incorrect device stats.
Following patch drops this call.

Signed-off-by: default avatarPravin B Shelar <pshelar@nicira.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bd5eb35f
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -967,8 +967,6 @@ static netdev_tx_t geneve6_xmit_skb(struct sk_buff *skb, struct net_device *dev,
	err = udp_tunnel6_xmit_skb(dst, gs6->sock->sk, skb, dev,
				   &fl6.saddr, &fl6.daddr, prio, ttl,
				   sport, geneve->dst_port, !udp_csum);

	iptunnel_xmit_stats(err, &dev->stats, dev->tstats);
	return NETDEV_TX_OK;

tx_error: