Searched hist:"6 f37c9f9dfbf9a9645ec5ea2d9370b0fd3e9081e" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/core/ |
H A D | rtnetlink.c | diff 6f37c9f9dfbf9a9645ec5ea2d9370b0fd3e9081e Tue Apr 19 07:51:51 CDT 2022 Florent Fourcot <florent.fourcot@wifirst.fr> Revert "rtnetlink: return EINVAL when request cannot succeed"
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@wifirst.fr> Tested-by: Guillaume Nault <gnault@redhat.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|