Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255490
b: refs/heads/master
c: 1a14fbc
h: refs/heads/master
v: v3
  • Loading branch information
Peter Pan(潘卫平) authored and David S. Miller committed Jun 9, 2011
1 parent fb840e4 commit cb8f43a
Show file tree
Hide file tree
Showing 3 changed files with 2 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: 56d00c677de0a6285587af4f6c6f10aef3209f9f
refs/heads/master: 1a14fbcbc96bd098540eb54b66976c20a73b8473
3 changes: 1 addition & 2 deletions trunk/drivers/net/bonding/bond_3ad.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ static inline u32 __get_agg_selection_mode(struct port *port)
if (bond == NULL)
return BOND_AD_STABLE;

return BOND_AD_INFO(bond).agg_select_mode;
return bond->params.ad_select;
}

/**
Expand Down Expand Up @@ -1859,7 +1859,6 @@ static void ad_marker_response_received(struct bond_marker *marker,
void bond_3ad_initiate_agg_selection(struct bonding *bond, int timeout)
{
BOND_AD_INFO(bond).agg_select_timer = timeout;
BOND_AD_INFO(bond).agg_select_mode = bond->params.ad_select;
}

static u16 aggregator_identifier;
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/net/bonding/bond_3ad.h
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ struct ad_system {
struct ad_bond_info {
struct ad_system system; /* 802.3ad system structure */
u32 agg_select_timer; // Timer to select aggregator after all adapter's hand shakes
u32 agg_select_mode; // Mode of selection of active aggregator(bandwidth/count)
struct timer_list ad_timer;
};

Expand Down

0 comments on commit cb8f43a

Please sign in to comment.