[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d1db8978-a866-9552-50e6-34507bfcd62d@gmail.com>
Date: Wed, 20 Apr 2022 18:15:56 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Florent Fourcot <florent.fourcot@...irst.fr>,
netdev@...r.kernel.org
Cc: Stephen Hemminger <stephen@...workplumber.org>,
Brian Baboch <brian.baboch@...irst.fr>
Subject: Re: [PATCH net-next] Revert "rtnetlink: return EINVAL when request
cannot succeed"
On 4/19/22 05:51, Florent Fourcot wrote:
> This reverts commit b6177d3240a4
>
> ip-link command is testing kernel capability by sending a RTM_NEWLINK
> request, without any argument. It accepts everything in reply, except
> EOPNOTSUPP and EINVAL (functions iplink_have_newlink / accept_msg)
>
> So we must keep compatiblity here, invalid empty message should not
> return EINVAL
>
> Signed-off-by: Florent Fourcot <florent.fourcot@...irst.fr>
Reviewed-by: Eric Dumazet <edumazet@...gle.com>
Thanks for fixing this issue.
Powered by blists - more mailing lists