1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-30 19:43:09 +02:00

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
This commit is contained in:
nbd 2010-07-06 18:53:55 +00:00
parent 3cb4900951
commit 9b8cc433f0
3 changed files with 3 additions and 3 deletions

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {