pkt_sched: sch_drr: Fix oops in drr_change_class.
commit1844f747947bb89d7f12cd3034548805113f764b
authorJarek Poplawski <jarkao2@gmail.com>
Fri, 27 Feb 2009 10:42:38 +0000 (27 02:42 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Feb 2009 10:42:38 +0000 (27 02:42 -0800)
tree3d2cb21cf6a9aec7bfd1c0ad9f6320f7b2a8c1f6
parente92aa634a33739478958f4109d6bd35b36d13532
pkt_sched: sch_drr: Fix oops in drr_change_class.

drr_change_class lacks a check for NULL of tca[TCA_OPTIONS], so oops
is possible.

Reported-by: Denys Fedoryschenko <denys@visp.net.lb>
Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_drr.c