Re: [tipc-discussion] [PATCH net-next v2 1/3] tipc: unify tipc_wait_for_sndpkt() and tipc_wait_for_sndmsg() functions

2016-12-06 Thread Jon Maloy
On 12/06/2016 03:49 AM, Parthasarathy Bhuvaragan wrote: > On 11/29/2016 06:03 PM, Jon Maloy wrote: >> The functions tipc_wait_for_sndpkt() and tipc_wait_for_sndmsg() are very >> similar. The latter function is also called from two locations, and >> there will be more in the coming commits, which

Re: [tipc-discussion] [PATCH net-next v2 1/3] tipc: unify tipc_wait_for_sndpkt() and tipc_wait_for_sndmsg() functions

2016-12-06 Thread Parthasarathy Bhuvaragan
On 11/29/2016 06:03 PM, Jon Maloy wrote: > The functions tipc_wait_for_sndpkt() and tipc_wait_for_sndmsg() are very > similar. The latter function is also called from two locations, and > there will be more in the coming commits, which will all need to test on > different conditions. > > Instead

[tipc-discussion] [PATCH net-next v2 1/3] tipc: unify tipc_wait_for_sndpkt() and tipc_wait_for_sndmsg() functions

2016-11-29 Thread Jon Maloy
The functions tipc_wait_for_sndpkt() and tipc_wait_for_sndmsg() are very similar. The latter function is also called from two locations, and there will be more in the coming commits, which will all need to test on different conditions. Instead of making yet another duplicates of the function, we