From 84a54922431f4fcd890528fc943026c26aeb0f65 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Mon, 15 Jun 2009 20:30:29 +0000 Subject: [PATCH] Fix typos. --- linux-2.6-720-bonding-hashes.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/linux-2.6-720-bonding-hashes.patch b/linux-2.6-720-bonding-hashes.patch index 080c3e5a5..77bf8aa9f 100644 --- a/linux-2.6-720-bonding-hashes.patch +++ b/linux-2.6-720-bonding-hashes.patch @@ -72,7 +72,7 @@ diff -Nurp linux-2.6.22.19-vs2.3.0.34/drivers/net/bonding/bond_main.c linux-2.6. + struct net_device *bond_dev, int count) +{ + static atomic_t packets; -+ return atomic_inc_return(packets) % count; ++ return atomic_inc_return(&packets) % count; +} + /*-------------------------- Device entry points ----------------------------*/ @@ -83,7 +83,7 @@ diff -Nurp linux-2.6.22.19-vs2.3.0.34/drivers/net/bonding/bond_main.c linux-2.6. if (bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER34) bond->xmit_hash_policy = bond_xmit_hash_policy_l34; + else if (bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER23) -+ bond->xmit_hash_policy = bond_xmit_hash_policty_l23; ++ bond->xmit_hash_policy = bond_xmit_hash_policy_l23; + else if (bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER3) + bond->xmit_hash_policy = bond_xmit_hash_policy_l3; + else if (bond->params.xmit_policy == BOND_XMIT_POLICY_RR) @@ -96,7 +96,7 @@ diff -Nurp linux-2.6.22.19-vs2.3.0.34/drivers/net/bonding/bond_main.c linux-2.6. if (bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER34) bond->xmit_hash_policy = bond_xmit_hash_policy_l34; + else if (bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER23) -+ bond->xmit_hash_policy = bond_xmit_hash_policty_l23; ++ bond->xmit_hash_policy = bond_xmit_hash_policy_l23; + else if (bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER3) + bond->xmit_hash_policy = bond_xmit_hash_policy_l3; + else if (bond->params.xmit_policy == BOND_XMIT_POLICY_RR) -- 2.43.0