projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
482da0f
)
bondnl: use be32 nla put/get for be32 values
author
Jiri Pirko
<
[email protected]
>
Sat, 14 Dec 2013 11:32:10 +0000
(12:32 +0100)
committer
David S. Miller
<
[email protected]
>
Tue, 17 Dec 2013 20:21:55 +0000
(15:21 -0500)
Signed-off-by: Jiri Pirko <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/bonding/bond_netlink.c
patch
|
blob
|
history
diff --git
a/drivers/net/bonding/bond_netlink.c
b/drivers/net/bonding/bond_netlink.c
index d7d84db9eed7b834f34bc5cb4c9240792fb642ed..990793dcccde32406027cc419484d2282eb6d721 100644
(file)
--- a/
drivers/net/bonding/bond_netlink.c
+++ b/
drivers/net/bonding/bond_netlink.c
@@
-125,7
+125,7
@@
static int bond_changelink(struct net_device *bond_dev,
int i = 0, rem;
nla_for_each_nested(attr, data[IFLA_BOND_ARP_IP_TARGET], rem) {
- __be32 target = nla_get_
u
32(attr);
+ __be32 target = nla_get_
be
32(attr);
targets[i++] = target;
}
@@
-224,7
+224,7
@@
static int bond_fill_info(struct sk_buff *skb,
targets_added = 0;
for (i = 0; i < BOND_MAX_ARP_TARGETS; i++) {
if (bond->params.arp_targets[i]) {
- nla_put_
u
32(skb, i, bond->params.arp_targets[i]);
+ nla_put_
be
32(skb, i, bond->params.arp_targets[i]);
targets_added = 1;
}
}