Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 83237
b: refs/heads/master
c: 2b7274c
h: refs/heads/master
i:
  83235: 1e8c826
v: v3
  • Loading branch information
Joachim Fenkes authored and Roland Dreier committed Feb 5, 2008
1 parent 2fdb808 commit e056980
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3971c9f6dbf26f077b929dbe14ced60a697ebcf0
refs/heads/master: 2b7274c39228d7a8c81a411dc3969763e9069c56
4 changes: 4 additions & 0 deletions trunk/drivers/infiniband/hw/ehca/ehca_reqs.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,10 @@ static inline int ehca_write_swqe(struct ehca_qp *qp,
ehca_gen_err("wr.ud.ah is NULL. qp=%p", qp);
return -EINVAL;
}
if (unlikely(send_wr->wr.ud.remote_qpn == 0)) {
ehca_gen_err("dest QP# is 0. qp=%x", qp->real_qp_num);
return -EINVAL;
}
my_av = container_of(send_wr->wr.ud.ah, struct ehca_av, ib_ah);
wqe_p->u.ud_av.ud_av = my_av->av;

Expand Down

0 comments on commit e056980

Please sign in to comment.