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_team_active_iface(), while we are still tring to get more nh info in rtnl_link_status(). I think we can remove the global rtnl_buf since it's only used in one function. Thanks Hangbin _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel