Re: [tipc-discussion] [PATCH net-next v2] tipc: add peer removal functionality

2016-02-17 Thread Jon Maloy
> Sent: Tuesday, 12 January, 2016 09:08 > To: net...@vger.kernel.org > Cc: tipc-discussion@lists.sourceforge.net > Subject: [tipc-discussion] [PATCH net-next v2] tipc: add peer removal > functionality > > Add TIPC_NL_PEER_REMOVE netlink command. This command can remove

Re: [tipc-discussion] [PATCH net-next v2] tipc: add peer removal functionality

2016-02-13 Thread jason
// expired timer > > > returns 0 > > > 4: > node_put() //refcnt -> 0 > > > 5: >node_kref_release() > > > 6: > node_delete() > > > 7: > kfree(node) > > &g

Re: [tipc-discussion] [PATCH net-next v2] tipc: add peer removal functionality

2016-02-13 Thread jason
nel.org; tipc-discussion@lists.sourceforge.net; Richard > > Alpe > > Subject: RE: [tipc-discussion] [PATCH net-next v2] tipc: add peer removal > > functionality > > > > Hi Jon, > > I think the refcount use case here looks like the same as a example in >

[tipc-discussion] [PATCH net-next v2] tipc: add peer removal functionality

2016-01-12 Thread Richard Alpe
Add TIPC_NL_PEER_REMOVE netlink command. This command can remove an offline peer node from the internal data structures. This will be supported by the tipc user space tool in iproute2. Signed-off-by: Richard Alpe Reviewed-by: Jon Maloy