Subject: sch_atm: null dereference

From: Jiri Slaby <[email-masked]>
Date: Sat, 04 Sep 2010 14:37:52 +0200

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