Re: [Linuxptp-devel] [PATCHv2] rtnl: add team activebackup support

2019-02-28 Thread Hangbin Liu
On Tue, Feb 26, 2019 at 04:04:36PM +0100, Miroslav Lichvar wrote: > When I forced it to switch to another port by setting the active link > down (I'm not sure if that is the proper way to do it), ptp4l crashes > on start. OK, I find out the reason. There is a race that we freed rtnl_buf in get_tea

Re: [Linuxptp-devel] [PATCHv2] rtnl: add team activebackup support

2019-02-27 Thread Hangbin Liu
On Tue, Feb 26, 2019 at 04:04:36PM +0100, Miroslav Lichvar wrote: > On Thu, Dec 06, 2018 at 09:54:32PM +0800, Hangbin Liu wrote: > > This patch add team interface activebackup mode support. As linux team use > > genl netlink message, when we get a rtnl link change notify, we have to > > setup > >

Re: [Linuxptp-devel] [PATCHv2] rtnl: add team activebackup support

2019-02-26 Thread Miroslav Lichvar
On Thu, Dec 06, 2018 at 09:54:32PM +0800, Hangbin Liu wrote: > This patch add team interface activebackup mode support. As linux team use > genl netlink message, when we get a rtnl link change notify, we have to setup > a new genl socket and request the current active port. I ran some tests with t