[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 Acked-by: Ying Xue --- include/uapi/linux/tipc_netlink.h

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

2016-01-12 Thread David Miller
From: Richard Alpe Date: Tue, 12 Jan 2016 15:08:16 +0100 > 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-b

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

2016-01-25 Thread jason
Hi, On Jan 12, 2016 10:09 PM, "Richard Alpe" wrote: > > 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: Jo

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

2016-02-10 Thread Jon Maloy
rom: jason [mailto:huzhiji...@gmail.com] > Sent: Tuesday, 26 January, 2016 02:37 > To: Richard Alpe > Cc: net...@vger.kernel.org; tipc-discussion@lists.sourceforge.net > Subject: Re: [tipc-discussion] [PATCH net-next v2] tipc: add peer removal > functionality > > Hi,

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

2016-02-10 Thread Jon Maloy
> To: jason; Richard Alpe > Cc: net...@vger.kernel.org; tipc-discussion@lists.sourceforge.net > Subject: RE: [tipc-discussion] [PATCH net-next v2] tipc: add peer removal > functionality > > Hi Jason, > I believe you are right, although the real problem is not what you think i

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

2016-02-10 Thread jason
ere, which would > have been the natural choice. I probably believed that our reference > counter > handling would make it safe, which it obviously isn't. > > Regards > ///jon > > > > > -Original Message- > > From: jason [mailto:huzhiji...

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

2016-02-10 Thread Jon Maloy
on't > know why I >have been using del_timer() instead of del_timer_sync() here, > which would > have been the natural choice. I probably believed that our reference > counter > handling would make it safe, which it obviously isn't. >

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

2016-02-13 Thread jason
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 > > https://www.kernel.org/doc/Documen

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

2016-02-13 Thread jason
; > > > > > > -Original Message- > > > From: jason [mailto:huzhiji...@gmail.com] > > > Sent: Wednesday, 10 February, 2016 15:34 > > > To: Jon Maloy > > > Cc: net...@vger.kernel.org; tipc-discussion@lists.sourceforge.net; > Richard

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 >