Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bonding: correctly handle out of range parameters for lp_interval
We didn't correctly check cases where the value for lp_interval is not within the legal range due to a missing table terminator. This would let userspace trigger a kernel panic by specifying a value out of range: echo -1 > /sys/devices/virtual/net/bond0/bonding/lp_interval Introduced by commit 4325b37 ("bonding: convert lp_interval to use the new option API"). Acked-by: Nikolay Aleksandrov <[email protected]> Signed-off-by: Sasha Levin <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information