summaryrefslogtreecommitdiff
path: root/target/linux/generic
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-07-06 18:53:55 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-07-06 18:53:55 +0000
commit36b295eefdf2ba56ed1175096a19780cd0042ed7 (patch)
tree5ca3ab9ba213de73b4ca01fe845ec35298c82cf4 /target/linux/generic
parente0751eb57e992db695c89c13ff2855ce072eafa0 (diff)
downloadmtk-20170518-36b295eefdf2ba56ed1175096a19780cd0042ed7.zip
mtk-20170518-36b295eefdf2ba56ed1175096a19780cd0042ed7.tar.gz
mtk-20170518-36b295eefdf2ba56ed1175096a19780cd0042ed7.tar.bz2
repair the damage that was done to the packet socket type filter patch when it was forward ported to 2.6.33 this should fix the mac80211 problems in 2.6.33 and later versions
SVN-Revision: 22079
Diffstat (limited to 'target/linux/generic')
-rw-r--r--target/linux/generic/patches-2.6.33/240-packet_socket_type.patch2
-rw-r--r--target/linux/generic/patches-2.6.34/240-packet_socket_type.patch2
-rw-r--r--target/linux/generic/patches-2.6.35/240-packet_socket_type.patch2
3 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic/patches-2.6.33/240-packet_socket_type.patch b/target/linux/generic/patches-2.6.33/240-packet_socket_type.patch
index 0cf56c0..f6f48c9 100644
--- a/target/linux/generic/patches-2.6.33/240-packet_socket_type.patch
+++ b/target/linux/generic/patches-2.6.33/240-packet_socket_type.patch
@@ -30,7 +30,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
unsigned int tp_loss:1;
#endif
struct packet_type prot_hook ____cacheline_aligned_in_smp;
-+ __u8 pkt_type:3;
++ unsigned int pkt_type;
};
struct packet_skb_cb {
diff --git a/target/linux/generic/patches-2.6.34/240-packet_socket_type.patch b/target/linux/generic/patches-2.6.34/240-packet_socket_type.patch
index 4d4c011..30743a0 100644
--- a/target/linux/generic/patches-2.6.34/240-packet_socket_type.patch
+++ b/target/linux/generic/patches-2.6.34/240-packet_socket_type.patch
@@ -31,7 +31,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
unsigned int tp_reserve;
unsigned int tp_loss:1;
struct packet_type prot_hook ____cacheline_aligned_in_smp;
-+ __u8 pkt_type:3;
++ unsigned int pkt_type;
};
struct packet_skb_cb {
diff --git a/target/linux/generic/patches-2.6.35/240-packet_socket_type.patch b/target/linux/generic/patches-2.6.35/240-packet_socket_type.patch
index afaf920..1bb0f85 100644
--- a/target/linux/generic/patches-2.6.35/240-packet_socket_type.patch
+++ b/target/linux/generic/patches-2.6.35/240-packet_socket_type.patch
@@ -30,7 +30,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
unsigned int tp_reserve;
unsigned int tp_loss:1;
struct packet_type prot_hook ____cacheline_aligned_in_smp;
-+ __u8 pkt_type:3;
++ unsigned int pkt_type;
};
struct packet_skb_cb {