Subject: Re: [PATCH net v2] fix return of iptunnel_xmit

From: Jiri Benc <[email-masked]>
Date: Thu, 8 Oct 2015 17:08:49 +0200

On Thu,  8 Oct 2015 12:11:54 +0200, Andreas Schultz wrote:
> All users of iptunnel_xmit expect the return value to be the error
> code from ip_output_local, but currently the return value is length
> of the send data on success or zero on error.
> Change iptunnel_xmit returns to match the callers expectation.

That's not true. All users pass the returned value to
iptunnel_xmit_stats() where it is used to increase tx_bytes.

The only exception is tipc_udp_send_msg which should be fixed instead.

 Jiri

-- 
Jiri Benc