linux/drivers/infiniband
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
..
core RDMA/ucma: Avoid sending reject if backlog is full 2007-03-06 14:58:11 -08:00
hw IB/ehca: Make scaling code work without CPU hotplug 2007-03-22 14:40:16 -07:00
ulp IPoIB: Fix use-after-free in path_rec_completion() 2007-03-22 14:40:16 -07:00
Kconfig RDMA/cxgb3: Add driver for Chelsio T3 RNIC 2007-02-12 16:16:18 -08:00
Makefile RDMA/cxgb3: Add driver for Chelsio T3 RNIC 2007-02-12 16:16:18 -08:00