Re: [PATCH]net:switchdev:add judgement and proper return vlaue to make switchdev_port_vlan_fill() more robust
From: David Miller
Date: Tue Dec 06 2016 - 09:32:54 EST
From: Jiri Pirko <jiri@xxxxxxxxxxx>
Date: Tue, 6 Dec 2016 13:32:25 +0100
> 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.
+1