dcb: use after free in dcb_flushapp()
authorDan Carpenter <error27@gmail.com>
Tue, 4 Jan 2011 21:03:44 +0000 (21:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Jan 2011 19:16:54 +0000 (11:16 -0800)
commit2a8fe003741aa90b6b9453e90af4bbb7bc42918c
tree44450d3e65a5f1447424335e64213a1001d21d0a
parent70bfa2d2e1bfd90ef26758b5e2749f043a940037
dcb: use after free in dcb_flushapp()

The original code has a use after free bug because it's not using the
_safe() version of the list_for_each_entry() macro.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dcb/dcbnl.c