[PATCH] correct PID printing in print_header_content()

Jirka Klimes jklimes at redhat.com
Thu Apr 22 08:16:10 EDT 2010


Hello,

I've found that a PID returned in an error message is not correct.
After digging into it, found that PID created in generate_local_port() is
put to output. However, this is not PID of the application, rather an enhanced 
identifier in highest 10 bits.
So the patch removes these additional bits when printing.

Thanks,
Jirka
-------------- next part --------------
A non-text attachment was scrubbed...
Name: print_pid.patch
Type: text/x-patch
Size: 684 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20100422/56503182/attachment.bin>


More information about the libnl mailing list