]> git.baikalelectronics.ru Git - kernel.git/commit
net: add sock_enable_timestamps
authorChristoph Hellwig <hch@lst.de>
Thu, 28 May 2020 05:12:14 +0000 (07:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 May 2020 18:11:44 +0000 (11:11 -0700)
commitdcf823cf62a2671704aea71f18eeede3abb6ca12
treeb49f61f2855996d8eba63ca6b25cbc5a14b11ab5
parente43410c37cdb1b7086ea4d489804c3f32651394c
net: add sock_enable_timestamps

Add a helper to directly enable timestamps instead of setting the
SO_TIMESTAMP* sockopts from kernel space and going through a fake
uaccess.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h
net/core/sock.c
net/rxrpc/local_object.c