Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232879
b: refs/heads/master
c: 8b2e18f
h: refs/heads/master
i:
  232877: 00c66e5
  232875: c2b795c
  232871: 69c68ed
  232863: 54f0845
v: v3
  • Loading branch information
Ursula Braun authored and David S. Miller committed Feb 2, 2011
1 parent 1e4e450 commit f57f1a4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 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: 9853b97bccbd2b08ce5fef497f21fa7395f68823
refs/heads/master: 8b2e18f662939fb3d9b0ffe5da953ba56d259e3a
10 changes: 9 additions & 1 deletion trunk/drivers/s390/net/qeth_core_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1887,8 +1887,16 @@ static int qeth_ulp_enable_cb(struct qeth_card *card, struct qeth_reply *reply,
QETH_DBF_TEXT_(SETUP, 2, " rc%d", iob->rc);
return 0;
}
card->info.max_mtu = mtu;
if (card->info.initial_mtu && (card->info.initial_mtu != mtu)) {
/* frame size has changed */
if (card->dev &&
((card->dev->mtu == card->info.initial_mtu) ||
(card->dev->mtu > mtu)))
card->dev->mtu = mtu;
qeth_free_qdio_buffers(card);
}
card->info.initial_mtu = mtu;
card->info.max_mtu = mtu;
card->qdio.in_buf_size = mtu + 2 * PAGE_SIZE;
} else {
card->info.initial_mtu = qeth_get_initial_mtu_for_card(card);
Expand Down

0 comments on commit f57f1a4

Please sign in to comment.