diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-05-27 19:37:19 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-05-27 22:40:56 +0200 |
commit | 43007b302efae90897b62095a6995f43c60c1ff1 (patch) | |
tree | 4f324a55b3ab850863866314ee0741584ad68e9b /units | |
parent | core: add new PassPacketInfo= socket unit property (diff) | |
download | systemd-43007b302efae90897b62095a6995f43c60c1ff1.tar.xz systemd-43007b302efae90897b62095a6995f43c60c1ff1.zip |
networkd: clean up NETLINK_PKTINFO vs. SO_PASSCRED confusion
We actually care for NETLINK_PKTINFO, not for SO_PASSCRED, hence when
allocating the netlink socket, configure things accordingly.
Tracked down by Benjamin Robin, see:
https://github.com/systemd/systemd/pull/15571#issuecomment-633213747
Diffstat (limited to 'units')
-rw-r--r-- | units/systemd-networkd.socket | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-networkd.socket b/units/systemd-networkd.socket index 445193e8d3..bc049e5ade 100644 --- a/units/systemd-networkd.socket +++ b/units/systemd-networkd.socket @@ -17,7 +17,7 @@ Before=sockets.target [Socket] ReceiveBuffer=128M ListenNetlink=route 1361 -PassCredentials=yes +PassPacketInfo=yes [Install] WantedBy=sockets.target |