diff options
author | 2014-03-06 16:53:11 -0500 | |
---|---|---|
committer | 2014-03-06 17:06:17 -0500 | |
commit | 5bd4e4c158ceb4e76ce9ed005c876d59caad8af2 (patch) | |
tree | f86025147af2f0f35b6210bd1c668c9c24a943f7 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ipv6: Fix exthdrs offload registration. (diff) | |
download | linux-dev-5bd4e4c158ceb4e76ce9ed005c876d59caad8af2.tar.xz linux-dev-5bd4e4c158ceb4e76ce9ed005c876d59caad8af2.zip |
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 4325b374f84 ("bonding: convert lp_interval to use
the new option API").
Acked-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions