linux-user,netlink: fix message translation with ip command
With iproute2-5.8.0, the route, link and addr show commands fail:
root@sid:~# ip addr show
RTNETLINK answers: Unknown error
352321537
Dump terminated
root@sid:~# ip link show
RTNETLINK answers: Unknown error
352321537
Dump terminated
root@sid:~# ip route show
RTNETLINK answers: Unknown error
352321537
Dump terminated
This patch correctly decodes the GETROUTE and GETLINK commands and adds
the RTA_TABLE message.
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <
20201116163622.791442-1-laurent@vivier.eu>