projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bonding: convert lp_interval to use the new option API
[deliverable/linux.git]
/
drivers
/
net
/
bonding
/
bond_netlink.c
diff --git
a/drivers/net/bonding/bond_netlink.c
b/drivers/net/bonding/bond_netlink.c
index 1e099c6e5dda0cf9b81c927439093d5a0e904c70..a8fa7256b7b1498ce6e72b048e0c1fbf897f13a8 100644
(file)
--- a/
drivers/net/bonding/bond_netlink.c
+++ b/
drivers/net/bonding/bond_netlink.c
@@
-301,7
+301,8
@@
static int bond_changelink(struct net_device *bond_dev,
int lp_interval =
nla_get_u32(data[IFLA_BOND_LP_INTERVAL]);
- err = bond_option_lp_interval_set(bond, lp_interval);
+ bond_opt_initval(&newval, lp_interval);
+ err = __bond_opt_set(bond, BOND_OPT_LP_INTERVAL, &newval);
if (err)
return err;
}
This page took
0.023529 seconds
and
5
git commands to generate.