On Sun, Aug 13, 2017 at 11:21:21PM +0800, Hangbin Liu wrote: > On Sat, Aug 12, 2017 at 04:41:23PM +0200, Richard Cochran wrote: > > Looks better to me, but why not place this code at the end of the > > port_link_status() function?
... > 2. If We receive one rtnl message with multi RTM_NEWLINK info, the cb will be > called more than once, then the return value will be replaced by new ones. Ok, that is clear. Place the code after rtnl_link_status() like you said. Thanks, Richard ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel