compat: add net/net_namespace.h stub for Linux 2.6.23 and older
PATCH 1/1 compat: add net/net_namespace.h stub for Linux 2.6.23 and older
This obviates a good part of 06-header-changes.patch in compat-wireless.
Signed-off-by Pavel Roskin <[email protected]>
--- include/net/net_namespace.h | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) create mode 100644 include/net/net_namespace.h
include/net/net_namespace.h new file +8 -0
@@ -0,0 +1,8 @@ +#ifndef _COMPAT_NET_NET_NAMESPACE_H +#define _COMPAT_NET_NET_NAMESPACE_H 1 + +#if (LINUX_VERSION_CODE >KERNEL_VERSION (2 ,6 ,23 )) +#include_next <net/net_namespace.h> +#endif /* (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,23)) */ + +#endif /* _COMPAT_NET_NET_NAMESPACE_H */
Luis R. Rodriguez
AppliedQuoted 3 lines · Pavel Roskin
This obviates a good part of 06-header-changes.patch in compat-wireless.
Signed-off-by Pavel Roskin <[email protected]>
Thanks! applied.
Luis