sd-netlink: determine header size of genl message by using CTRL_ATTR_HDRSIZE attribute
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 2 Jul 2021 21:53:08 +0000 (06:53 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 29 Aug 2021 09:10:47 +0000 (18:10 +0900)
commit44f1072a9ddf9ad33a1fe76bae3d16f4a818ea79
treeb2e16acb7a136899d3412d5378baea8a0f79557e
parent52313394ba4f2e57156d0ba1a4c4ddc669dbf7f0
sd-netlink: determine header size of genl message by using CTRL_ATTR_HDRSIZE attribute

Fortunately, all genl families we currently use do not require additional
header size.
src/libsystemd/sd-netlink/netlink-genl.c