Re: [patch net-next v2 1/3] net: devlink: allow to change namespaces
From: David Ahern <hidden>
Date: 2019-08-05 14:51:26
From: David Ahern <hidden>
Date: 2019-08-05 14:51:26
On 8/5/19 8:49 AM, Jiri Pirko wrote:
quoted
Your commit 5fc494225c1eb81309cc4c91f183cd30e4edb674 changed that from a per-namepace accounting to all namespaces managed by a single devlink instance in init_net - which is completely wrong.No. Not "all namespaces". Only the one where the devlink is. And that is always init_net, until this patchset.
Jiri: your change to fib.c does not take into account namespace when doing rules and routes accounting. you broke it. fix it.