commit | c433594c07457d2b2e41a87014bfad9bec279abf | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu May 28 07:12:10 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu May 28 11:11:44 2020 -0700 |
tree | 2c878b9ba357b4a52aec683daa19a1c3cf759cec | |
parent | b58f0e8f38c0a44afa59601a115bd231f23471e1 [diff] |
net: add sock_no_linger Add a helper to directly set the SO_LINGER sockopt from kernel space with onoff set to true and a linger time of 0 without going through a fake uaccess. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: David S. Miller <davem@davemloft.net>