]> err.no Git - linux-2.6/commit
IB/core: Check optional verbs before using them
authorDotan Barak <dotanb@dev.mellanox.co.il>
Thu, 17 Apr 2008 04:09:28 +0000 (21:09 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 17 Apr 2008 04:09:28 +0000 (21:09 -0700)
commit7ce5eacb45a7c819a6bec6ed486f27db9aab6ab6
tree9dfd0646b19d8b03627753c9f0267fb074a2f50c
parentb3b8128fd3b0966830ee90f1162173d07cb496a0
IB/core: Check optional verbs before using them

Make sure that a device implements the modify_srq and reg_phys_mr
optional methods before calling them.

Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/verbs.c