diff options
-rw-r--r-- | drivers/infiniband/ulp/srp/ib_srp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/srp/ib_srp.c b/drivers/infiniband/ulp/srp/ib_srp.c index f6a051428144..9ccc63886d92 100644 --- a/drivers/infiniband/ulp/srp/ib_srp.c +++ b/drivers/infiniband/ulp/srp/ib_srp.c | |||
@@ -285,6 +285,7 @@ static int srp_lookup_path(struct srp_target_port *target) | |||
285 | target->srp_host->dev->dev, | 285 | target->srp_host->dev->dev, |
286 | target->srp_host->port, | 286 | target->srp_host->port, |
287 | &target->path, | 287 | &target->path, |
288 | IB_SA_PATH_REC_SERVICE_ID | | ||
288 | IB_SA_PATH_REC_DGID | | 289 | IB_SA_PATH_REC_DGID | |
289 | IB_SA_PATH_REC_SGID | | 290 | IB_SA_PATH_REC_SGID | |
290 | IB_SA_PATH_REC_NUMB_PATH | | 291 | IB_SA_PATH_REC_NUMB_PATH | |
@@ -1692,6 +1693,7 @@ static int srp_parse_options(const char *buf, struct srp_target_port *target) | |||
1692 | goto out; | 1693 | goto out; |
1693 | } | 1694 | } |
1694 | target->service_id = cpu_to_be64(simple_strtoull(p, NULL, 16)); | 1695 | target->service_id = cpu_to_be64(simple_strtoull(p, NULL, 16)); |
1696 | target->path.service_id = target->service_id; | ||
1695 | kfree(p); | 1697 | kfree(p); |
1696 | break; | 1698 | break; |
1697 | 1699 | ||