Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27615
b: refs/heads/master
c: b7ac4ab
h: refs/heads/master
i:
  27613: b2e29bd
  27611: bbce1df
  27607: a4cbf0b
  27599: aa36fce
  27583: 2a31ae4
v: v3
  • Loading branch information
Ishai Rabinovitz authored and Roland Dreier committed Jun 18, 2006
1 parent ac8d4c5 commit 575de8d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ac83cbaa9a41344c3adf329ede607e58d887f354
refs/heads/master: b7ac4ab497e44cba75fb0e9e5afca06776518934
14 changes: 9 additions & 5 deletions trunk/drivers/infiniband/ulp/srp/ib_srp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1196,11 +1196,10 @@ static int srp_cm_handler(struct ib_cm_id *cm_id, struct ib_cm_event *event)
srp_cm_rej_handler(cm_id, event, target);
break;

case IB_CM_MRA_RECEIVED:
printk(KERN_ERR PFX "MRA received\n");
break;

case IB_CM_DREP_RECEIVED:
case IB_CM_DREQ_RECEIVED:
printk(KERN_WARNING PFX "DREQ received - connection closed\n");
if (ib_send_cm_drep(cm_id, NULL, 0))
printk(KERN_ERR PFX "Sending CM DREP failed\n");
break;

case IB_CM_TIMEWAIT_EXIT:
Expand All @@ -1210,6 +1209,11 @@ static int srp_cm_handler(struct ib_cm_id *cm_id, struct ib_cm_event *event)
target->status = 0;
break;

case IB_CM_MRA_RECEIVED:
case IB_CM_DREQ_ERROR:
case IB_CM_DREP_RECEIVED:
break;

default:
printk(KERN_WARNING PFX "Unhandled CM event %d\n", event->event);
break;
Expand Down

0 comments on commit 575de8d

Please sign in to comment.