[Devel] [PATCH rh7] fib_rules: mark default fib reles as BLACK
Stanislav Kinsburskiy
skinsbursky at odin.com
Mon Nov 23 08:04:26 PST 2015
23.11.2015 16:53, Andrey Ryabinin пишет:
>
> On 11/23/2015 06:46 PM, Stanislav Kinsburskiу wrote:
>
>> +1
>> I'm curious, why network namespace is not reported as leaked...
>>
>>>> 3) This object holds network namespace. And it also have to be leaked leaked after CT stop. Is it?
> Why do you think it leaked?
> How the rule could hold the namespace?
int fib_default_rule_add(struct fib_rules_ops *ops,
u32 pref, u32 table, u32 flags)
{
<snip>
r->fr_net = hold_net(ops->fro_net);
<snip>
return 0;
}
But, probably, we have NETNS_REFCNT_DEBUG unset. And that's bad...
More information about the Devel
mailing list