aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/multipath_wrandom.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-09-26 22:22:50 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-28 18:01:15 -0700
commitd9cd66e0e593929077b5ecf87384e23db7271c6e (patch)
tree88687af48f84fff9329060b7b286a52083dea997 /net/ipv4/multipath_wrandom.c
parent32ab5f80334fc067386c4c56c434010c01cff6b9 (diff)
downloadkernel_samsung_smdk4412-d9cd66e0e593929077b5ecf87384e23db7271c6e.zip
kernel_samsung_smdk4412-d9cd66e0e593929077b5ecf87384e23db7271c6e.tar.gz
kernel_samsung_smdk4412-d9cd66e0e593929077b5ecf87384e23db7271c6e.tar.bz2
[IPV4]: multipath_set_nhinfo() annotations
multipath_set_nhinfo() (and underlying callback) take net-endian network and netmask. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/multipath_wrandom.c')
-rw-r--r--net/ipv4/multipath_wrandom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/multipath_wrandom.c b/net/ipv4/multipath_wrandom.c
index d25ec4a..773acc9 100644
--- a/net/ipv4/multipath_wrandom.c
+++ b/net/ipv4/multipath_wrandom.c
@@ -217,8 +217,8 @@ static void wrandom_select_route(const struct flowi *flp,
*rp = decision;
}
-static void wrandom_set_nhinfo(__u32 network,
- __u32 netmask,
+static void wrandom_set_nhinfo(__be32 network,
+ __be32 netmask,
unsigned char prefixlen,
const struct fib_nh *nh)
{