On (03/01/16 10:51), Cong Wang wrote:
> --- a/net/sched/sch_mqprio.c
> +++ b/net/sched/sch_mqprio.c
> @@ -142,7 +142,7 @@ static int mqprio_init(struct Qdisc *sch, struct
> nlattr *opt)
> */
> if (qopt->hw) {
> struct tc_to_netdev tc = {.type = TC_SETUP_MQPRIO,
> - .tc = qopt->num_tc};
> + {.tc = qopt->num_tc} };
>
this fix works.
The first suggestion had no effect (needs changes to a lot of files
I suspect).
BTW, I remain surprised that no one else has noticed this. It did not
take me any effort to reproduce it on an x86.
--Sowmini