Re: [PATCH v2] cgroup: fix panic in netprio_cgroup

2012-07-09 Thread Neil Horman
On Sun, Jul 08, 2012 at 09:50:43PM +0200, Eric Dumazet wrote: > On Thu, 2012-07-05 at 17:28 +0800, Gao feng wrote: > > we set max_prioidx to the first zero bit index of prioidx_map in > > function get_prioidx. > > > > So when we delete the low index netprio cgroup and adding a new > > netprio cgro

Re: [PATCH v2] cgroup: fix panic in netprio_cgroup

2012-07-09 Thread David Miller
From: Gao feng Date: Thu, 5 Jul 2012 17:28:40 +0800 > we set max_prioidx to the first zero bit index of prioidx_map in > function get_prioidx. > > So when we delete the low index netprio cgroup and adding a new > netprio cgroup again,the max_prioidx will be set to the low index. > > when we set

Re: [PATCH v2] cgroup: fix panic in netprio_cgroup

2012-07-08 Thread Gao feng
于 2012年07月09日 03:50, Eric Dumazet 写道: > On Thu, 2012-07-05 at 17:28 +0800, Gao feng wrote: >> we set max_prioidx to the first zero bit index of prioidx_map in >> function get_prioidx. >> >> So when we delete the low index netprio cgroup and adding a new >> netprio cgroup again,the max_prioidx will

Re: [PATCH v2] cgroup: fix panic in netprio_cgroup

2012-07-08 Thread Eric Dumazet
On Thu, 2012-07-05 at 17:28 +0800, Gao feng wrote: > we set max_prioidx to the first zero bit index of prioidx_map in > function get_prioidx. > > So when we delete the low index netprio cgroup and adding a new > netprio cgroup again,the max_prioidx will be set to the low index. > > when we set th