summaryrefslogtreecommitdiff
path: root/package/kernel/mac80211/patches/090-remove-cred.patch
blob: 3adb2afb86fd5026aab46ca63a1e93cc966a25f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
This is only needed for kernel < 2.6.29 and conflicts with kernel 4.4.42

--- a/backport-include/linux/cred.h
+++ /dev/null
@@ -1,10 +0,0 @@
-#ifndef __BACKPORT_LINUX_CRED_H
-#define __BACKPORT_LINUX_CRED_H
-#include_next <linux/cred.h>
-#include <linux/version.h>
-
-#ifndef current_user_ns
-#define current_user_ns()	(current->nsproxy->user_ns)
-#endif
-
-#endif /* __BACKPORT_LINUX_CRED_H */