]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-netlink: make timeout message sealed
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 19 Jul 2020 15:57:40 +0000 (00:57 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 20 Jul 2020 05:49:55 +0000 (07:49 +0200)
commit628f08b66d43d1947b03419409d817d28eb47321
tree95a63a2f71dd2a29622b0681768a9ceb7d0398c3
parentd735e4f2d6778ab2a3d402ca2b2d522f3f19203d
sd-netlink: make timeout message sealed

When sd_netlink_call_async() timed out, then we reply the synthetic
error message, but it was not sealed. So, reading the message causes
the following assertion:

```
Assertion 'm->sealed' failed at src/libsystemd/sd-netlink/netlink-message.c:652, function netlink_message_read_internal(). Ignoring.
```
src/libsystemd/sd-netlink/netlink-util.c