]> git.baikalelectronics.ru Git - kernel.git/commit
i40iw: Do not access pointer after free
authorMustafa Ismail <mustafa.ismail@intel.com>
Tue, 12 Jul 2016 16:48:41 +0000 (11:48 -0500)
committerDoug Ledford <dledford@redhat.com>
Tue, 2 Aug 2016 18:17:38 +0000 (14:17 -0400)
commit08b198b03d1e639525c1fb3119c26edd9f536e16
tree27250847846c5cd05cc5a83a20baaa30ee799410
parentb7c8699280f7d1785262a82d7f4271c603e1d36c
i40iw: Do not access pointer after free

Child_listen_node pointer is used in a debug print after kfree.
Move the print before kfree.

Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_cm.c