Re: [PATCH net] staging: fsl-dpaa2: ethsw: Add missing netdevice check

From: Florian Fainelli
Date: Sun Feb 24 2019 - 11:17:23 EST


Le 2/23/19 Ã 12:45 AM, Ioana Ciornei a ÃcritÂ:
>
>> Subject: [PATCH net] staging: fsl-dpaa2: ethsw: Add missing netdevice check
>>
>> port_switchdev_event() does not check that the target network device is
>> actually backed by the ethsw driver, this could be problematic in a stacked
>> environment case.
>>
>
> Just FYI, I sent a patch set containing a similar patch verifying if the netdev is backed by the ethsw:
> https://lkml.org/lkml/2019/2/6/216
>
> I sent the entire patch set against the staging tree.

Thank you. BTW do you have any plans for moving this driver out of
staging? It looks pretty good to me to get promoted in tree, provided
that you also have all the dependencies in place etc.
--
Florian