]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-netlink: support NLMSGERR_ATTR_MSG
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 30 Nov 2019 06:01:06 +0000 (15:01 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 30 Nov 2019 07:13:51 +0000 (16:13 +0900)
commite4a1e68d7ab318caa50312c022bd22a8fb81c6b7
treee44274ed08ad90bac9faa5aadec9f7b8884397ba
parent0e7e8544712f8b0300bd28f706ab2105ea9d3c1b
sd-netlink: support NLMSGERR_ATTR_MSG

From v4.12 the kernel appends some attributes to netlink acks
containing a textual description of the error and other fields.
This makes sd-netlink parse the attributes.
src/libsystemd/sd-netlink/netlink-message.c
src/libsystemd/sd-netlink/netlink-types.c
src/libsystemd/sd-netlink/sd-netlink.c