Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203582
b: refs/heads/master
c: 7923668
h: refs/heads/master
v: v3
  • Loading branch information
Nicolas de Pesloüan authored and David S. Miller committed Jul 15, 2010
1 parent 68b57fd commit d07b65d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 04d5821fa506551afbc072456fecee7b34b2977d
refs/heads/master: 79236680bde29913dc6bfaf9165973b74223d5f7
4 changes: 2 additions & 2 deletions trunk/drivers/net/bonding/bond_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1427,8 +1427,8 @@ static ssize_t bonding_show_queue_id(struct device *d,

read_lock(&bond->lock);
bond_for_each_slave(bond, slave, i) {
if (res > (PAGE_SIZE - 6)) {
/* not enough space for another interface name */
if (res > (PAGE_SIZE - IFNAMSIZ - 6)) {
/* not enough space for another interface_name:queue_id pair */
if ((PAGE_SIZE - res) > 10)
res = PAGE_SIZE - 10;
res += sprintf(buf + res, "++more++ ");
Expand Down

0 comments on commit d07b65d

Please sign in to comment.