[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-backports
Subject: [PATCH] backports: add IFF_TX_SKB_SHARING
From: Johannes Berg <johannes () sipsolutions ! net>
Date: 2015-01-30 17:14:50
Message-ID: 1422638090-20059-1-git-send-email-johannes () sipsolutions ! net
[Download RAW message or body]
From: Johannes Berg <johannes.berg@intel.com>
This was introduced on kernel version 3.1, so a kernel (3.0) without
it is still just within the support window. Define this constant if
it isn't defined.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
backport/backport-include/linux/if.h | 9 +++++++++
1 file changed, 9 insertions(+)
create mode 100644 backport/backport-include/linux/if.h
diff --git a/backport/backport-include/linux/if.h b/backport/backport-include/linux/if.h
new file mode 100644
index 000000000000..d471340490ca
--- /dev/null
+++ b/backport/backport-include/linux/if.h
@@ -0,0 +1,9 @@
+#ifndef __BACKPORT_IF_H
+#define __BACKPORT_IF_H
+#include_next <linux/if.h>
+
+#ifndef IFF_TX_SKB_SHARING
+#define IFF_TX_SKB_SHARING 0
+#endif
+
+#endif /* __BACKPORT_IF_H */
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic