]> git.baikalelectronics.ru Git - kernel.git/commit
ethtool: fix missing NLM_F_MULTI flag when dumping
authorFernando Fernandez Mancera <ffmancera@riseup.net>
Tue, 4 May 2021 22:47:14 +0000 (00:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 May 2021 19:41:10 +0000 (12:41 -0700)
commitd2a15868a0ca658b2e153dd47ab0d3ba4176d0d1
tree49e0c03960be95e905b0c3d607f4b9f1607e2215
parent86a161d1e4156cb9a38174bf2af4a29d67019f5e
ethtool: fix missing NLM_F_MULTI flag when dumping

When dumping the ethtool information from all the interfaces, the
netlink reply should contain the NLM_F_MULTI flag. This flag allows
userspace tools to identify that multiple messages are expected.

Link: https://bugzilla.redhat.com/1953847
Fixes: a58134d46e3b ("ethtool: fix genlmsg_put() failure handling in ethnl_default_dumpit()")
Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ethtool/netlink.c