Thread (11 messages) flat view 11 messages, 5 authors, 2015-10-28

Re: [PATCH net-next] sock: don't enable netstamp for af_unix sockets

From: David Miller <davem@davemloft.net>
Date: 2015-10-28 02:22:57

From: Hannes Frederic Sowa <redacted>
Date: Mon, 26 Oct 2015 13:51:37 +0100
netstamp_needed is toggled for all socket families if they request
timestamping. But some protocols don't need the lower-layer timestamping
code at all. This patch starts disabling it for af-unix.

E.g. systemd enables timestamping during boot-up on the journald af-unix
sockets, thus causing the system to globally enable timestamping in the
lower networking stack. Still, it is very probable that timestamping
gets activated, by e.g. dhclient or various NTP implementations.

Reported-by: Jesper Dangaard Brouer <redacted>
Signed-off-by: Hannes Frederic Sowa <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help