On Tue, Aug 17, 2021 at 05:42:41PM +0000, Geva, Erez wrote: > In pmc_create(...) > > if (transport_type == TRANS_UDS) { > pmc->port_identity.portNumber = getpid(); > > When portNumber is UInteger16 > > However in new Linux systems, I notice that the process ID can be larger than > 16 bits. > > Do you think we need to bitwise here with 0xffff?
No, because the assignment already truncates the value to 16 bits. Thanks, Richard _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel