diff options
author | Patrick McHardy <kaber@trash.net> | 2008-07-02 02:52:38 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-02 02:52:38 (GMT) |
commit | ff31ab56c0e900235f653e375fc3b01ba2d8d6a3 (patch) | |
tree | e35bab914ce853527e1531dc7681a13a08720ed6 /net/mac80211/wme.c | |
parent | 77a538d5aa25a8866606a1faa4300c9aa2a59dfc (diff) | |
download | linux-fsl-qoriq-ff31ab56c0e900235f653e375fc3b01ba2d8d6a3.tar.xz |
net-sched: change tcf_destroy_chain() to clear start of filter list
Pass double tcf_proto pointers to tcf_destroy_chain() to make it
clear the start of the filter list for more consistency.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/wme.c')
-rw-r--r-- | net/mac80211/wme.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/mac80211/wme.c b/net/mac80211/wme.c index 635b996..5d09e86 100644 --- a/net/mac80211/wme.c +++ b/net/mac80211/wme.c @@ -323,8 +323,7 @@ static void wme_qdiscop_destroy(struct Qdisc* qd) struct ieee80211_hw *hw = &local->hw; int queue; - tcf_destroy_chain(q->filter_list); - q->filter_list = NULL; + tcf_destroy_chain(&q->filter_list); for (queue=0; queue < hw->queues; queue++) { skb_queue_purge(&q->requeued[queue]); |