net_sched: qdisc_get_rtab() must check data[] array
authorEric Dumazet <edumazet@google.com>
Sun, 2 Jun 2013 11:15:55 +0000 (11:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Jun 2013 22:24:04 +0000 (15:24 -0700)
commit40edeff6e1c6f9a6f16536ae3375e3af9d648449
tree10b78f0fe8fec830ba2cafae2be4e6dfdc0adc21
parent1612e111e4e565422242727efb59499cce8738e4
net_sched: qdisc_get_rtab() must check data[] array

qdisc_get_rtab() should check not only the keys in struct tc_ratespec,
but also the full data[] array.

"tc ... linklayer atm " only perturbs values in the 256 slots array.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_api.c