On Tue, 2020-07-28 at 13:27 +0300, Or Gerlitz wrote: > On Tue, Jul 28, 2020 at 12:13 PM Saeed Mahameed <sae...@mellanox.com> > wrote: > > From: Eli Cohen <e...@mellanox.com> > > > > Net devices might be removed. For example, a vxlan device could be > > deleted and its ifnidex would become invalid. Use > > dev_get_by_index() > > instead of __dev_get_by_index() to hold reference on the device > > while > > accessing it and release after done. > > haven't this patch sent in the past in the same form and we were in > the middle > of discussing how to properly address this? if something changed, > what?
I thought the discussion was concluded ? anyway i will remove this patch from my trees, Eli please discuss with Or, i am fine with this patch as is since it is a minimal fix to net.