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 10:20:22 +0000 (03:20 -0700)
commit01b140eb2108f7c30e01659a573a971bc8ca3dea
tree86e1a7b414c27eb90da499eb7d487c43f19b48d8
parent6d204e4fe042aafb1e443b08de56b4fa5cf012ca
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