[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140219.164110.1433043026929645851.davem@davemloft.net>
Date: Wed, 19 Feb 2014 16:41:10 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: erik.hugne@...csson.com
Cc: netdev@...r.kernel.org, tipc-discussion@...ts.sourceforge.net,
ying.xue@...driver.com, paul.gortmaker@...driver.com,
jon.maloy@...csson.com, maloy@...jonn.com
Subject: Re: [PATCH net-next v2] tipc: failed transmissions should return
error
From: <erik.hugne@...csson.com>
Date: Wed, 19 Feb 2014 08:37:58 +0100
> From: Erik Hugne <erik.hugne@...csson.com>
>
> When a message could not be sent out because the destination node
> or link could not be found, the full message size is returned from
> sendmsg() as if it had been sent successfully. An application will
> then get a false indication that it's making forward progress. This
> problem has existed since the initial commit in 2.6.16.
>
> We change this to return -ENETUNREACH if the message cannot be
> delivered due to the destination node/link being unavailable. We
> also get rid of the redundant tipc_reject_msg call since freeing
> the buffer and doing a tipc_port_iovec_reject accomplishes exactly
> the same thing.
>
> Signed-off-by: Erik Hugne <erik.hugne@...csson.com>
> Reviewed-by: Jon Maloy <jon.maloy@...csson.com>
Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists