[PATCH RESEND 1/8] netlink: call get_fd_nl_family before decode nlmsghdr

Dmitry V. Levin ldv at altlinux.org
Fri Aug 4 22:56:51 UTC 2017


On Tue, Aug 01, 2017 at 07:48:41AM +0800, JingPiao Chen wrote:
> Prepare for NETLINK_KOBJECT_UEVENT decode. The messages
> of NETLINK_KOBJECT_UEVENT do not contain nlmsghdr.

A netlink message without a netlink message header?  Ouch.
Could you give a link to the exact place in kernel sources
or documentation where this marvel of design is described, please?


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20170805/44659615/attachment.bin>


More information about the Strace-devel mailing list