Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57953
b: refs/heads/master
c: 82c3aca
h: refs/heads/master
i:
  57951: 5d4c6c1
v: v3
  • Loading branch information
Michael S. Tsirkin authored and Roland Dreier committed Jun 21, 2007
1 parent 28b11a2 commit 8d52879
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 3ec7393a6858a1716e74aa81be6af76fd180021d
refs/heads/master: 82c3aca6ad9004169df8f2f8c0747686fe4003b3
6 changes: 3 additions & 3 deletions trunk/drivers/infiniband/ulp/ipoib/ipoib_cm.c
Original file line number Diff line number Diff line change
Expand Up @@ -759,9 +759,9 @@ static int ipoib_cm_rep_handler(struct ib_cm_id *cm_id, struct ib_cm_event *even

p->mtu = be32_to_cpu(data->mtu);

if (p->mtu < priv->dev->mtu + IPOIB_ENCAP_LEN) {
ipoib_warn(priv, "Rejecting connection: mtu %d < device mtu %d + 4\n",
p->mtu, priv->dev->mtu);
if (p->mtu <= IPOIB_ENCAP_LEN) {
ipoib_warn(priv, "Rejecting connection: mtu %d <= %d\n",
p->mtu, IPOIB_ENCAP_LEN);
return -EINVAL;
}

Expand Down

0 comments on commit 8d52879

Please sign in to comment.