resolved: tweak cmsg calculation v239-43
authorLennart Poettering <lennart@poettering.net>
Wed, 27 May 2020 17:38:38 +0000 (19:38 +0200)
committerThe Plumber <50238977+systemd-rhel-bot@users.noreply.github.com>
Tue, 24 Nov 2020 18:05:45 +0000 (19:05 +0100)
commit6ece87bef14ac5741fc870644504737b00607546
treef1b1c5045447961ae36f52854aed0d2e3b728d81
parent905a97ce65352d80af7260d34b74fd8342792c35
resolved: tweak cmsg calculation

We ask for the TTL, then have enough space for it.

We probably can drop the extra cmsg space now, but let's figure that out
another time, since the extra cmsg space is used elsewhere in resolved
as well.

(cherry picked from commit 08ab18618ec59022582f1513c0718ba369f5ba85)

Related: #1887181
src/resolve/resolved-dns-stream.c