net_sched: fix an allocation bug in tcindex_set_parms()
authorWANG Cong <xiyou.wangcong@gmail.com>
Mon, 15 Sep 2014 21:06:46 +0000 (14:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Sep 2014 21:48:23 +0000 (17:48 -0400)
commita57a65ba47b71e7af67af30466c7e0bd2ec5786d
treedede472aa465a94419df0f4623d1dc5fd392424c
parent80dcbd12fb30932bb001b913ffe36843e2a1fe3a
net_sched: fix an allocation bug in tcindex_set_parms()

Fixes: commit 331b72922c5f58d48fd ("net: sched: RCU cls_tcindex")
Cc: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_tcindex.c