summaryrefslogtreecommitdiffstats
path: root/.vscode/tasks.json
diff options
context:
space:
mode:
authorManuel Bentele2020-08-31 15:01:04 +0200
committerManuel Bentele2020-08-31 15:01:04 +0200
commit753aee3e741301e3b461b2e7930c9f7eef80e659 (patch)
tree87e1547211aba4080d3d9b87b51b79d5048c9f8d /.vscode/tasks.json
parent[KERNEL] make private network functions static (diff)
downloaddnbd3-753aee3e741301e3b461b2e7930c9f7eef80e659.tar.gz
dnbd3-753aee3e741301e3b461b2e7930c9f7eef80e659.tar.xz
dnbd3-753aee3e741301e3b461b2e7930c9f7eef80e659.zip
[KERNEL] set socket timeouts with new function and time structure
This patch replaces the deprecated kernel_setsockopt() function with the socket generic function sock_setsockopt() to set the send and receive timeout for all used sockets in the kernel module. The timeout data type is choosen according to the available kernel version, so that the dnbd3 kernel module supports the new y2038-problem-solving socket options. With both changes, the kernel module runs on Linux kernel 5.4 LTS and later (including Linux kernel 5.9).
Diffstat (limited to '.vscode/tasks.json')
0 files changed, 0 insertions, 0 deletions