diff options
-rw-r--r-- | README.md | 3 | ||||
-rw-r--r-- | src/kernel/net.c | 1 |
2 files changed, 3 insertions, 1 deletions
@@ -7,10 +7,11 @@ This repository contains the source code for the following dnbd3 components: - **dnbd3**: Linux kernel module client for dnbd3 - **dnbd3-bench**: Benchmark utility to test dnbd3 - **dnbd3-fuse**: Fuse client for dnbd3 - - **dnbd3-server**: Server to serve virtual disk images for dnbd3 + - **dnbd3-server**: Server to serve virtual disk images for dnbd3 The dnbd3 components can be built for the following Linux kernel versions and Unix distributions: + - Generic/Vanilla Kernel **4.14** – **5.15** - Archlinux with **Linux kernel 5.15.x** or **5.10.x** - Raspberry Pi OS with **Linux kernel 5.4.x** - Ubuntu 20.04 with **Linux kernel 5.4.x** diff --git a/src/kernel/net.c b/src/kernel/net.c index c3ecc54..5919832 100644 --- a/src/kernel/net.c +++ b/src/kernel/net.c @@ -30,6 +30,7 @@ #include <linux/time.h> #include <linux/ktime.h> #include <linux/tcp.h> +#include <linux/sched/task.h> #ifndef MIN #define MIN(a, b) ((a) < (b) ? (a) : (b)) |