projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'v4.18' into rdma.git for-next
[platform/kernel/linux-rpi.git]
/
net
/
rds
/
ib_frmr.c
diff --git
a/net/rds/ib_frmr.c
b/net/rds/ib_frmr.c
index
09ab974
..
b371cf0
100644
(file)
--- a/
net/rds/ib_frmr.c
+++ b/
net/rds/ib_frmr.c
@@
-339,6
+339,11
@@
struct rds_ib_mr *rds_ib_reg_frmr(struct rds_ib_device *rds_ibdev,
struct rds_ib_frmr *frmr;
int ret;
+ if (!ic) {
+ /* TODO: Add FRWR support for RDS_GET_MR using proxy qp*/
+ return ERR_PTR(-EOPNOTSUPP);
+ }
+
do {
if (ibmr)
rds_ib_free_frmr(ibmr, true);