Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bonding: use nla_get_u64 to extract the value for IFLA_BOND_AD_ACTOR_…
…SYSTEM bond_opt_initval expects a u64 type param, it's better to use nla_get_u64 to extract the value here, to eliminate a sparse endianness mismatch warning. Fixes: 171a42c ("bonding: add netlink support for sys prio, actor sys mac, and port key") Signed-off-by: Xin Long <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information