Le 02/09/2016 à 06:53, Cong Wang a écrit : > netns id should be already allocated each time we change > netns, that is, in dev_change_net_namespace() (more precisely > in rtnl_fill_ifinfo()). It is safe to just call peernet2id() here. > > Cc: Nicolas Dichtel <nicolas.dich...@6wind.com> > Signed-off-by: Cong Wang <xiyou.wangc...@gmail.com> Acked-by: Nicolas Dichtel <nicolas.dich...@6wind.com>
- [Patch net-next 0/2] net: some minor optimization for netn... Cong Wang
- [Patch net-next 1/2] vxlan: call peernet2id() in fdb ... Cong Wang
- Re: [Patch net-next 1/2] vxlan: call peernet2id()... Nicolas Dichtel
- [Patch net-next 2/2] netns: avoid disabling irq for n... Cong Wang
- Re: [Patch net-next 2/2] netns: avoid disabling i... Nicolas Dichtel
- Re: [Patch net-next 2/2] netns: avoid disabli... Cong Wang
- Re: [Patch net-next 2/2] netns: avoid dis... Cong Wang
- Re: [Patch net-next 2/2] netns: avoi... Nicolas Dichtel
- Re: [Patch net-next 0/2] net: some minor optimization... David Miller