linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] compat: add net/net_namespace.h stub for Linux 2.6.23 and older
@ 2010-04-07  5:26 Pavel Roskin
  2010-04-07  7:07 ` Luis R. Rodriguez
  0 siblings, 1 reply; 2+ messages in thread
From: Pavel Roskin @ 2010-04-07  5:26 UTC (permalink / raw)
  To: Luis R. Rodriguez, linux-wireless

This obviates a good part of 06-header-changes.patch in compat-wireless.

Signed-off-by: Pavel Roskin <proski@gnu.org>
---
 include/net/net_namespace.h |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
 create mode 100644 include/net/net_namespace.h

diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h
new file mode 100644
index 0000000..206c0c1
--- /dev/null
+++ b/include/net/net_namespace.h
@@ -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 */

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] compat: add net/net_namespace.h stub for Linux 2.6.23 and older
  2010-04-07  5:26 [PATCH] compat: add net/net_namespace.h stub for Linux 2.6.23 and older Pavel Roskin
@ 2010-04-07  7:07 ` Luis R. Rodriguez
  0 siblings, 0 replies; 2+ messages in thread
From: Luis R. Rodriguez @ 2010-04-07  7:07 UTC (permalink / raw)
  To: Pavel Roskin; +Cc: linux-wireless

On Tue, Apr 6, 2010 at 10:26 PM, Pavel Roskin <proski@gnu.org> wrote:
> This obviates a good part of 06-header-changes.patch in compat-wireless.
>
> Signed-off-by: Pavel Roskin <proski@gnu.org>

Thanks! applied.

  Luis

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-07  7:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-07  5:26 [PATCH] compat: add net/net_namespace.h stub for Linux 2.6.23 and older Pavel Roskin
2010-04-07  7:07 ` Luis R. Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).