aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
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
commitf594246f60f68c7e7a93d3f835d6098b3900292c (patch)
tree7fe4a1c9665354dfe1e98067fb1493bdb08d2005 /target/linux
parent940c4740a60b76413f3a36f605b127bdb7091970 (diff)
downloadmaster-187ad058-f594246f60f68c7e7a93d3f835d6098b3900292c.tar.gz
master-187ad058-f594246f60f68c7e7a93d3f835d6098b3900292c.tar.bz2
master-187ad058-f594246f60f68c7e7a93d3f835d6098b3900292c.zip
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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22079 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-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 0cf56c02b6..f6f48c9deb 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 4d4c01155f..30743a0c05 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 afaf9204fe..1bb0f85d88 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 {