android_kernel_xiaomi_sm7250/drivers/infiniband/ulp
Michael S. Tsirkin d04d01b113 IPoIB: Fix use-after-free in path_rec_completion()
The connected mode code added the possibility that an neigh struct
gets freed in the list_for_each_entry() loop in path_rec_completion(),
which causes a use-after-free.  Fix this by changing to the _safe
variant of the list walking macro.

This was spotted by the Coverity checker (CID 1567).

Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2007-03-22 14:40:16 -07:00
..
ipoib IPoIB: Fix use-after-free in path_rec_completion() 2007-03-22 14:40:16 -07:00
iser [PATCH] iscsi endianness annotations 2007-02-09 09:14:07 -08:00
srp IB/srp: Don't wait for response when QP is in error state. 2007-02-04 14:11:56 -08:00