ev@vger.kernel.org
> Subject: Re: [PATCH net-next] net: assign err to 0 at begin in do_setlink()
> function
>
> From: "Yuan, Linyu (NSB - CN/Shanghai)"
> Date: Wed, 15 Nov 2017 05:15:35 +
>
> >
> >
> >> -Original Message-
> >&g
2017 1:08 PM
>> To: cug...@163.com
>> Cc: netdev@vger.kernel.org; Yuan, Linyu (NSB - CN/Shanghai)
>> Subject: Re: [PATCH net-next] net: assign err to 0 at begin in do_setlink()
>> function
>>
>> From: yuan linyu
>> Date: Tue, 14 Nov 2017 22:30:59 +0800
&g
[PATCH net-next] net: assign err to 0 at begin in do_setlink()
> function
>
> From: yuan linyu
> Date: Tue, 14 Nov 2017 22:30:59 +0800
>
> > From: yuan linyu
> >
> > each netlink attribute have proper process when error happen,
> > when exit on attribute p
From: yuan linyu
Date: Tue, 14 Nov 2017 22:30:59 +0800
> From: yuan linyu
>
> each netlink attribute have proper process when error happen,
> when exit on attribute process, it implies that no error,
> so err = 0; is useless.
>
> assign err = 0; at beginning if all attributes not set.
>
> Sig