On Tue, Jun 27, 2017 at 04:16:56PM +0800, JingPiao Chen wrote: > While many NLMSG_DONE messages indeed have payload containing > just one integer, there are exceptions. Handle this by passing > payloads of NLMSG_DONE messages to family specific netlink > payload decoders.
Applied, thanks. > * netlink.c (print_nlmsghdr): Add condition > nlmsghdr->nlmsg_type != NLMSG_DONE. > (decode_nlmsg_type): Add condition type != NLMSG_DONE. > (decode_nlmsg_flags): Add condition type == NLMSG_DONE. > (decode_netlink_sock_diag): Add condition > nlmsghdr->nlmsg_type == NLMSG_DONE. I changed wording slightly to make the description more readable. -- ldv
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel