Roland Dreier
5beba53230
IB/mthca: No userspace SRQs if HCA doesn't have SRQ support
...
Leave all SRQ methods out of the device's uverbs_cmd_mask if the
device doesn't have SRQ support (because of ancient firmware) so that
we don't allow userspace to call the driver's create_srq method. This
fixes a userspace-triggerable oops caused by ib_uverbs_create_srq()
following the device's ->create_srq function pointer, which will be
NULL if the device doesn't support SRQs.
Signed-off-by: Roland Dreier <rolandd@cisco.com >
2006-08-18 10:41:46 -07:00
..
2006-07-02 13:58:50 -07:00
2006-08-06 08:57:49 -07:00
2006-06-27 09:23:59 -07:00
2006-07-08 13:30:09 -07:00
2006-07-31 13:28:39 -07:00
2006-07-31 13:28:39 -07:00
2006-07-24 12:44:34 -07:00
2006-07-10 13:24:15 -07:00
2006-08-06 09:12:49 -07:00
2006-06-26 09:58:21 -07:00
2006-07-31 13:28:36 -07:00
2006-07-31 18:37:06 -04:00
2006-07-15 11:08:50 +10:00
2006-07-21 14:50:13 -07:00
2006-08-06 08:57:46 -07:00
2006-06-30 19:25:36 +02:00
2006-07-14 09:41:13 -05:00
2006-06-30 19:25:36 +02:00
2006-07-12 15:43:07 -07:00
2006-08-06 08:57:49 -07:00
2006-07-31 13:39:52 -07:00
2006-08-06 08:57:48 -07:00
2006-08-18 10:41:46 -07:00
2006-08-04 22:52:46 -04:00
2006-08-06 08:57:48 -07:00
2006-07-14 21:53:54 -07:00
2006-07-31 13:39:52 -07:00
2006-08-06 08:57:46 -07:00
2006-07-29 17:22:39 -03:00
2006-07-21 12:04:53 -07:00
2006-07-11 22:54:15 +01:00
2006-07-02 13:58:50 -07:00
2006-07-13 16:17:46 +01:00
2006-07-03 21:29:08 -07:00
2006-08-03 17:31:10 -04:00
2006-06-30 19:25:36 +02:00
2006-07-02 13:58:52 -07:00
2006-07-02 13:58:50 -07:00
2006-08-03 13:20:06 -07:00
2006-07-31 13:28:41 -07:00
2006-08-06 08:57:49 -07:00
2006-06-30 19:25:36 +02:00
2006-07-14 21:53:53 -07:00
2006-07-27 14:00:33 +02:00
2006-07-21 14:18:06 -07:00
2006-08-03 17:34:52 -04:00
2006-07-21 14:18:25 -07:00
2006-07-02 13:58:50 -07:00
2006-07-03 15:27:09 -07:00
2006-07-02 13:58:50 -07:00
2006-06-29 14:19:21 -07:00
2006-08-04 22:53:37 -04:00
2006-08-06 08:57:47 -07:00
2006-07-12 15:38:28 -07:00
2006-06-30 19:25:36 +02:00
2006-06-26 09:58:21 -07:00