Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 122772
b: refs/heads/master
c: 3b5b35d
h: refs/heads/master
v: v3
  • Loading branch information
Holger Eitzenberger authored and David S. Miller committed Dec 18, 2008
1 parent 8c8d673 commit f06f617
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 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: 3c52065fbbf3bd11776d63d43e18d0fd285b02e2
refs/heads/master: 3b5b35d02264580950d1e1565431b99d97c20ded
13 changes: 7 additions & 6 deletions trunk/drivers/net/bonding/bond_3ad.c
Original file line number Diff line number Diff line change
Expand Up @@ -769,6 +769,7 @@ static struct aggregator *__get_active_agg(struct aggregator *aggregator)
static inline void __update_lacpdu_from_port(struct port *port)
{
struct lacpdu *lacpdu = &port->lacpdu;
const struct port_params *partner = &port->partner_oper;

/* update current actual Actor parameters */
/* lacpdu->subtype initialized
Expand All @@ -789,12 +790,12 @@ static inline void __update_lacpdu_from_port(struct port *port)
* lacpdu->partner_information_length initialized
*/

lacpdu->partner_system_priority = htons(port->partner_oper.system_priority);
lacpdu->partner_system = port->partner_oper.system;
lacpdu->partner_key = htons(port->partner_oper.key);
lacpdu->partner_port_priority = htons(port->partner_oper.port_priority);
lacpdu->partner_port = htons(port->partner_oper.port_number);
lacpdu->partner_state = port->partner_oper.port_state;
lacpdu->partner_system_priority = htons(partner->system_priority);
lacpdu->partner_system = partner->system;
lacpdu->partner_key = htons(partner->key);
lacpdu->partner_port_priority = htons(partner->port_priority);
lacpdu->partner_port = htons(partner->port_number);
lacpdu->partner_state = partner->port_state;

/* lacpdu->reserved_3_2 initialized
* lacpdu->tlv_type_collector_info initialized
Expand Down

0 comments on commit f06f617

Please sign in to comment.