]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sch_prio: Fix nla_parse_nested_compat() regression
authorThomas Graf <tgraf@suug.ch>
Wed, 3 Sep 2008 08:00:02 +0000 (01:00 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 8 Sep 2008 11:44:25 +0000 (04:44 -0700)
commitcb09de4542ad75cc3b66d0cf1a86217bf5633416
tree0efd311fa1938680b0249963281d3a59e32032c5
parente2ab3da38b46f4f1389f18c7cd4a9a71ceac0bc6
sch_prio: Fix nla_parse_nested_compat() regression

[ No upstream commit, this is fixing code no longer in 2.6.27 ]

nla_parse_nested_compat() was used to parse two different message
formats in the netem and prio qdisc, when it was "fixed" to work
with netem, it broke the multi queue support in the prio qdisc.
Since the prio qdisc code in question is already removed in the
development tree, this patch only fixes the regression in the
stable tree.

Based on original patch from Alexander H Duyck <alexander.h.duyck@intel.com>

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/sched/sch_prio.c