Re: [PATCH 1/3] The sysctl shadows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2007-11-20 at 14:43 +0300, Pavel Emelyanov wrote:
> 
> +static void ctl_free_table(struct ctl_table *t)
> +{
> +       struct ctl_table *tmp;
> +
> +       for (tmp = t; tmp->ctl_name || tmp->procname; tmp++)
> +               if (tmp->child)
> +                       ctl_free_table(tmp->child);
> +
> +       kfree(t);
> +} 

Are you worried about the recursion at all?

-- Dave

_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux