Commit 4708a1b1 authored by Wang Yufen's avatar Wang Yufen Committed by David S. Miller

bonding:fix checkpatch errors comments and space

Signed-off-by: default avatarWang Yufen <wangyufen@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b85b6fb1
...@@ -610,10 +610,10 @@ static void rlb_req_update_slave_clients(struct bonding *bond, struct slave *sla ...@@ -610,10 +610,10 @@ static void rlb_req_update_slave_clients(struct bonding *bond, struct slave *sla
} }
} }
// update the team's flag only after the whole iteration /* update the team's flag only after the whole iteration */
if (ntt) { if (ntt) {
bond_info->rx_ntt = 1; bond_info->rx_ntt = 1;
//fasten the change /* fasten the change */
bond_info->rlb_update_retry_counter = RLB_UPDATE_RETRY; bond_info->rlb_update_retry_counter = RLB_UPDATE_RETRY;
} }
...@@ -771,7 +771,7 @@ static struct slave *rlb_arp_xmit(struct sk_buff *skb, struct bonding *bond) ...@@ -771,7 +771,7 @@ static struct slave *rlb_arp_xmit(struct sk_buff *skb, struct bonding *bond)
*/ */
tx_slave = rlb_choose_channel(skb, bond); tx_slave = rlb_choose_channel(skb, bond);
if (tx_slave) { if (tx_slave) {
memcpy(arp->mac_src,tx_slave->dev->dev_addr, ETH_ALEN); memcpy(arp->mac_src, tx_slave->dev->dev_addr, ETH_ALEN);
} }
pr_debug("Server sent ARP Reply packet\n"); pr_debug("Server sent ARP Reply packet\n");
} else if (arp->op_code == htons(ARPOP_REQUEST)) { } else if (arp->op_code == htons(ARPOP_REQUEST)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment