mirror of https://github.com/hak5/openwrt-owl.git
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: 22079owl
parent
e0751eb57e
commit
36b295eefd
|
@ -30,7 +30,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
|
||||||
unsigned int tp_loss:1;
|
unsigned int tp_loss:1;
|
||||||
#endif
|
#endif
|
||||||
struct packet_type prot_hook ____cacheline_aligned_in_smp;
|
struct packet_type prot_hook ____cacheline_aligned_in_smp;
|
||||||
+ __u8 pkt_type:3;
|
+ unsigned int pkt_type;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct packet_skb_cb {
|
struct packet_skb_cb {
|
||||||
|
|
|
@ -31,7 +31,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
|
||||||
unsigned int tp_reserve;
|
unsigned int tp_reserve;
|
||||||
unsigned int tp_loss:1;
|
unsigned int tp_loss:1;
|
||||||
struct packet_type prot_hook ____cacheline_aligned_in_smp;
|
struct packet_type prot_hook ____cacheline_aligned_in_smp;
|
||||||
+ __u8 pkt_type:3;
|
+ unsigned int pkt_type;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct packet_skb_cb {
|
struct packet_skb_cb {
|
||||||
|
|
|
@ -30,7 +30,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
|
||||||
unsigned int tp_reserve;
|
unsigned int tp_reserve;
|
||||||
unsigned int tp_loss:1;
|
unsigned int tp_loss:1;
|
||||||
struct packet_type prot_hook ____cacheline_aligned_in_smp;
|
struct packet_type prot_hook ____cacheline_aligned_in_smp;
|
||||||
+ __u8 pkt_type:3;
|
+ unsigned int pkt_type;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct packet_skb_cb {
|
struct packet_skb_cb {
|
||||||
|
|
Loading…
Reference in New Issue