summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx4/srq.c
diff options
context:
space:
mode:
authorShlomo Pongratz <shlomop@mellanox.com>2013-04-10 14:26:46 +0000
committerRoland Dreier <roland@purestorage.com>2013-04-16 22:42:54 -0700
commiteec9e29fc5e9b417649830ab76a3aa10b90d2e9f (patch)
tree16fb7f69124d3602468deba7010cea29313771ce /drivers/net/ethernet/mellanox/mlx4/srq.c
parent41ef2d5678d83af030125550329b6ae8b74618fa (diff)
IB/core: Verify that QP handler is valid before dispatching events
For QPs of type IB_QPT_XRC_TGT the IB core assigns a common event handler __ib_shared_qp_event_handler(), and the optionally supplied event handler is stored. When the common handler is called it iterates on all opened QPs and calles the original handlers without checking if they are NULL. Fix that. Signed-off-by: Shlomo Pongratz <shlomop@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/srq.c')
0 files changed, 0 insertions, 0 deletions