[PATCH] Fixed null pointer exception when user namespace is empty

Jason A. Donenfeld Jason at zx2c4.com
Sun Oct 17 00:52:32 UTC 2021

Hi Aaron,

That patch is missing your Signed-off-by line, so I won't be able to
take it as-is.

However, I also wonder if it makes sense. I just grepped the entire
kernel and I couldn't find any other instances of net->user_ns being
NULL checked. Is it possible that there's a bug in QNAP's kernel
somewhere? Or you're compiling against the wrong .config so the struct
offsets are wrong? Or something else? When should net->user_ns be


More information about the WireGuard mailing list