Re: [PATCH] rtnl: RTM_GETNETCONF: fix wrong return value

2016-02-19 Thread David Miller
From: Anton Protopopov Date: Tue, 16 Feb 2016 21:43:16 -0500 > An error response from a RTM_GETNETCONF request can return the positive > error value EINVAL in the struct nlmsgerr that can mislead userspace. > > Signed-off-by: Anton Protopopov Applied and queued up for -stable, thanks.

Re: [PATCH] rtnl: RTM_GETNETCONF: fix wrong return value

2016-02-17 Thread Cong Wang
On Tue, Feb 16, 2016 at 6:43 PM, Anton Protopopov wrote: > An error response from a RTM_GETNETCONF request can return the positive > error value EINVAL in the struct nlmsgerr that can mislead userspace. > > Signed-off-by: Anton Protopopov LGTM, Acked-by: Cong Wang