summaryrefslogtreecommitdiff
path: root/openwrt/package/linux/kernel-patches/201-include_linux_skbuff_h.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-04-28 09:01:53 +0000
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-04-28 09:01:53 +0000
commit2f6d730798e427eae2d2ca9afe8976fe87c72e22 (patch)
tree7ad0ae7c285b28ffd37dd53176cf1d404856a53b /openwrt/package/linux/kernel-patches/201-include_linux_skbuff_h.patch
parent60b0fa63152782f0e61d878c549ff7f08c26f85e (diff)
downloadmtk-20170518-2f6d730798e427eae2d2ca9afe8976fe87c72e22.zip
mtk-20170518-2f6d730798e427eae2d2ca9afe8976fe87c72e22.tar.gz
mtk-20170518-2f6d730798e427eae2d2ca9afe8976fe87c72e22.tar.bz2
add new wl integration patches, fixes tc issues
SVN-Revision: 743
Diffstat (limited to 'openwrt/package/linux/kernel-patches/201-include_linux_skbuff_h.patch')
-rw-r--r--openwrt/package/linux/kernel-patches/201-include_linux_skbuff_h.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/openwrt/package/linux/kernel-patches/201-include_linux_skbuff_h.patch b/openwrt/package/linux/kernel-patches/201-include_linux_skbuff_h.patch
new file mode 100644
index 0000000..628eaea
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/201-include_linux_skbuff_h.patch
@@ -0,0 +1,24 @@
+--- linux-mips-cvs-21012005/include/linux/skbuff.h 2005-01-31 12:56:47.000000000 +0100
++++ linux-broadcom/include/linux/skbuff.h 2005-01-31 12:55:24.000000000 +0100
+@@ -135,10 +135,6 @@
+ struct sock *sk; /* Socket we are owned by */
+ struct timeval stamp; /* Time we arrived */
+ struct net_device *dev; /* Device we arrived on/are leaving by */
+- struct net_device *real_dev; /* For support of point to point protocols
+- (e.g. 802.3ad) over bonding, we must save the
+- physical device that got the packet before
+- replacing skb->dev with the virtual device. */
+
+ /* Transport layer header */
+ union
+@@ -219,6 +215,10 @@
+ #ifdef CONFIG_NET_SCHED
+ __u32 tc_index; /* traffic control index */
+ #endif
++ struct net_device *real_dev; /* For support of point to point protocols
++ (e.g. 802.3ad) over bonding, we must save the
++ physical device that got the packet before
++ replacing skb->dev with the virtual device. */
+ };
+
+ #ifdef __KERNEL__