commit | 76ee0785f42afbc0418072b7179d95f450d3c9a8 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu May 28 07:12:12 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu May 28 11:11:44 2020 -0700 |
tree | a10c068a03d52142e83659f975fc0eadf73e4ff2 | |
parent | 6e43496745e75ac49d644df984d2f4ee5b5b6b4e [diff] |
net: add sock_set_sndtimeo Add a helper to directly set the SO_SNDTIMEO_NEW sockopt from kernel space without going through a fake uaccess. The interface is simplified to only pass the seconds value, as that is the only thing needed at the moment. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: David S. Miller <davem@davemloft.net>