Le 21/11/2018 à 22:07, David Ahern a écrit : > On 11/21/18 1:58 PM, Nicolas Dichtel wrote: >> The target-nsid is not stored in net_cb (not needed). ref_net is set only if >> tgt_net comes from TARGET_NSID. I can add a comment. > > ref_net is added by this patch and it is only used (unless I missed > something) to know if the put_net is needed. ie/, drop ref_net in place > of nsid It is used by a following patch (4/4) to get NETNSA_CURRENT_NSID.
- [PATCH net-next 0/4] Ease to interpret net-nsid Nicolas Dichtel
- [PATCH net-next 2/4] netns: add support of NETNSA_TAR... Nicolas Dichtel
- Re: [PATCH net-next 2/4] netns: add support of NE... David Ahern
- Re: [PATCH net-next 2/4] netns: add support o... Nicolas Dichtel
- Re: [PATCH net-next 2/4] netns: add suppo... David Ahern
- Re: [PATCH net-next 2/4] netns: add ... Nicolas Dichtel
- [PATCH net-next 3/4] netns: enable to specify a nsid ... Nicolas Dichtel
- [PATCH net-next 4/4] netns: enable to dump full nsid ... Nicolas Dichtel
- Re: [PATCH net-next 4/4] netns: enable to dump fu... David Ahern
- Re: [PATCH net-next 4/4] netns: enable to dum... Nicolas Dichtel
- Re: [PATCH net-next 4/4] netns: enable to... David Ahern
- [PATCH net-next 1/4] netns: remove net arg from rtnl_... Nicolas Dichtel
- [PATCH net-next v2 0/5] Ease to interpret net-nsid Nicolas Dichtel
- [PATCH net-next v2 5/5] netns: enable to dump ful... Nicolas Dichtel
- Re: [PATCH net-next v2 5/5] netns: enable to ... David Ahern
- Re: [PATCH net-next v2 5/5] netns: enable... Nicolas Dichtel