summaryrefslogtreecommitdiffstats
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-05-27 19:37:19 +0200
committerLennart Poettering <lennart@poettering.net>2020-05-27 22:40:56 +0200
commit43007b302efae90897b62095a6995f43c60c1ff1 (patch)
tree4f324a55b3ab850863866314ee0741584ad68e9b /units
parentcore: add new PassPacketInfo= socket unit property (diff)
downloadsystemd-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.socket2
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