sch_atm: null dereference

From: Jiri Slaby
Date: Sat Sep 04 2010 - 08:38:22 EST


Hi,

stanse found a potential null dereference:
atm_tc_change
-> if (flow)
-> return -EBUSY;
-> flow is NULL now
-> if (classid)
-> if (!list_empty(&flow->list))

Introduced probably in
sch_atm: Convert to use standard list_head facilities.

Could you fix that?

regards,
--
js
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/