Re: [PATCH net v1 1/1] tipc: use only positive error codes in messages

2017-09-30 Thread David Miller
From: Parthasarathy Bhuvaragan Date: Fri, 29 Sep 2017 10:02:54 +0200 > In commit e3a77561e7d32 ("tipc: split up function tipc_msg_eval()"), > we have updated the function tipc_msg_lookup_dest() to set the error > codes to negative values at destination lookup failures. Thus when > the function se

[PATCH net v1 1/1] tipc: use only positive error codes in messages

2017-09-29 Thread Parthasarathy Bhuvaragan
In commit e3a77561e7d32 ("tipc: split up function tipc_msg_eval()"), we have updated the function tipc_msg_lookup_dest() to set the error codes to negative values at destination lookup failures. Thus when the function sets the error code to -TIPC_ERR_NO_NAME, its inserted into the 4 bit error field