Re: [PATCH net-next v3] ip_tunnel: Move stats update to iptunnel_xmit()

2015-12-25 Thread David Miller
From: Pravin B Shelar Date: Thu, 24 Dec 2015 14:34:54 -0800 > By moving stats update into iptunnel_xmit(), we can simplify > iptunnel_xmit() usage. With this change there is no need to > call another function (iptunnel_xmit_stats()) to update stats > in tunnel xmit code path. > > Signed-off-by:

[PATCH net-next v3] ip_tunnel: Move stats update to iptunnel_xmit()

2015-12-24 Thread Pravin B Shelar
By moving stats update into iptunnel_xmit(), we can simplify iptunnel_xmit() usage. With this change there is no need to call another function (iptunnel_xmit_stats()) to update stats in tunnel xmit code path. Signed-off-by: Pravin B Shelar --- v2-v3: - Fixed ip6tunnel_xmit() v1-v2: - keep iptunne