Frédéric Weisbecker wrote:
> Yes I have the same problem.
> I think I found the origin.
> That's because wme_qdiscop_destroy in net/mac80211/wme.c passes a bad
> pointer in tcf_destroy_chain.
> It requires a struct tcf_proto **fl and not a struct tcf_proto *fl
>
> Here is a patch, I can't test it because my gcc segfaults but I think
> it will correct the bug.
That fixes it, (belated) thanks! Hope your compiler gets better :-).
Have you picked this up, Nick? (I've reattached the patch to this message).
Regards
Alan
diff -u -r a/net/mac80211/wme.c b/net/mac80211/wme.c
--- a/net/mac80211/wme.c 2008-07-16 06:19:50.000000000 +0200
+++ b/net/mac80211/wme.c 2008-07-17 17:42:18.000000000 +0200
@@ -310,7 +310,7 @@
struct ieee80211_hw *hw = &local->hw;
int queue;
- tcf_destroy_chain(q->filter_list);
+ tcf_destroy_chain(&q->filter_list);
q->filter_list = NULL;
for (queue = 0; queue < QD_NUM(hw); queue++) {
_______________________________________________
ath5k-devel mailing list
[email protected]
https://lists.ath5k.org/mailman/listinfo/ath5k-devel