Messages in this thread | | | Date | Thu, 06 Mar 2014 17:06:49 -0500 (EST) | Subject | Re: [PATCH v2] bonding: correctly handle out of range parameters for lp_interval | From | David Miller <> |
| |
From: Sasha Levin <sasha.levin@oracle.com> Date: Thu, 6 Mar 2014 16:53:11 -0500
> 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>
Applied, thanks.
| |