Re: [PATCH]net:switchdev:add judgement and proper return vlaue to make switchdev_port_vlan_fill() more robust

From: Jiri Pirko
Date: Tue Dec 06 2016 - 07:32:35 EST


Tue, Dec 06, 2016 at 05:46:36AM CET, cxdx2006@xxxxxxxxx wrote:
>From: Feng Deng<cxdx2006@xxxxxxxxx>
>
>1.add judgement to make sure switchdev_port_vlan_fill() could
> return right, even when switchdev_port_vlan_dump_put() failed ,
> which will make switchdev_port_vlan_fill() more robust
>2.add proper return vlaue at the end of the switchdev_port_vlan_fill()
>
>Signed-off-by: Feng Deng <feng.deng@xxxxxxxxxxxxxxxxxx>

Please don't send patches like this. You are wasting everyone's time.

Thanks!