sch_sfq.c (85e9ca333d03fbd56b9e123c8456f0d98e20faad) | sch_sfq.c (378a2f090f7a478704a372a4869b8a9ac206234e) |
---|---|
1/* 2 * net/sched/sch_sfq.c Stochastic Fairness Queueing discipline. 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * as published by the Free Software Foundation; either version 7 * 2 of the License, or (at your option) any later version. 8 * --- 164 unchanged lines hidden (view full) --- 173 174 *qerr = NET_XMIT_BYPASS; 175 result = tc_classify(skb, q->filter_list, &res); 176 if (result >= 0) { 177#ifdef CONFIG_NET_CLS_ACT 178 switch (result) { 179 case TC_ACT_STOLEN: 180 case TC_ACT_QUEUED: | 1/* 2 * net/sched/sch_sfq.c Stochastic Fairness Queueing discipline. 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * as published by the Free Software Foundation; either version 7 * 2 of the License, or (at your option) any later version. 8 * --- 164 unchanged lines hidden (view full) --- 173 174 *qerr = NET_XMIT_BYPASS; 175 result = tc_classify(skb, q->filter_list, &res); 176 if (result >= 0) { 177#ifdef CONFIG_NET_CLS_ACT 178 switch (result) { 179 case TC_ACT_STOLEN: 180 case TC_ACT_QUEUED: |
181 *qerr = NET_XMIT_SUCCESS; | 181 *qerr = NET_XMIT_SUCCESS | __NET_XMIT_STOLEN; |
182 case TC_ACT_SHOT: 183 return 0; 184 } 185#endif 186 if (TC_H_MIN(res.classid) <= SFQ_HASH_DIVISOR) 187 return TC_H_MIN(res.classid); 188 } 189 return 0; --- 458 unchanged lines hidden --- | 182 case TC_ACT_SHOT: 183 return 0; 184 } 185#endif 186 if (TC_H_MIN(res.classid) <= SFQ_HASH_DIVISOR) 187 return TC_H_MIN(res.classid); 188 } 189 return 0; --- 458 unchanged lines hidden --- |