]> git.baikalelectronics.ru Git - kernel.git/commit
sch_atm: Fix potential NULL deref.
authorDavid S. Miller <davem@davemloft.net>
Sun, 12 Sep 2010 18:56:44 +0000 (11:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 12 Sep 2010 18:56:44 +0000 (11:56 -0700)
commit91f9cb5963c81019c4e684a88b0a9d04e2accf9c
tree4ea708f794d8cb91f77d42e32fce5324902cc274
parent2120cab2a0fb1fccb6038fde1d2f244c5b938a1b
sch_atm: Fix potential NULL deref.

The list_head conversion unearther an unnecessary flow
check.  Since flow is always NULL here we don't need to
see if a matching flow exists already.

Reported-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_atm.c