WSL2-Linux-Kernel/net/ethtool
Michal Kubecek 19a83d36f9 ethtool: add and use message type for tunnel info reply
Tunnel offload info code uses ETHTOOL_MSG_TUNNEL_INFO_GET message type (cmd
field in genetlink header) for replies to tunnel info netlink request, i.e.
the same value as the request have. This is a problem because we are using
two separate enums for userspace to kernel and kernel to userspace message
types so that this ETHTOOL_MSG_TUNNEL_INFO_GET (28) collides with
ETHTOOL_MSG_CABLE_TEST_TDR_NTF which is what message type 28 means for
kernel to userspace messages.

As the tunnel info request reached mainline in 5.9 merge window, we should
still be able to fix the reply message type without breaking backward
compatibility.

Fixes: c7d759eb7b ("ethtool: add tunnel info interface")
Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-09-17 16:43:20 -07:00
..
Makefile ethtool: add tunnel info interface 2020-07-10 13:54:00 -07:00
bitset.c
bitset.h
cabletest.c net: ethtool: Remove PHYLIB direct dependency 2020-07-07 15:41:05 -07:00
channels.c
coalesce.c
common.c ethtool: add tunnel info interface 2020-07-10 13:54:00 -07:00
common.h ethtool: add tunnel info interface 2020-07-10 13:54:00 -07:00
debug.c
eee.c
features.c ethtool: Don't omit the netlink reply if no features were changed 2020-08-18 16:00:24 -07:00
ioctl.c net: phy: Uninline PHY ethtool statistics operations 2020-07-08 12:39:05 -07:00
linkinfo.c ethtool: linkinfo: remove an unnecessary NULL check 2020-06-05 13:10:02 -07:00
linkmodes.c ethtool: ethnl_set_linkmodes: remove redundant null check 2020-08-03 15:11:49 -07:00
linkstate.c ethtool: Add link extended state 2020-06-29 17:45:02 -07:00
netlink.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-07-11 00:46:00 -07:00
netlink.h ethtool: add tunnel info interface 2020-07-10 13:54:00 -07:00
pause.c
privflags.c
rings.c
strset.c ethtool: add tunnel info interface 2020-07-10 13:54:00 -07:00
tsinfo.c
tunnels.c ethtool: add and use message type for tunnel info reply 2020-09-17 16:43:20 -07:00
wol.c