commit | 0976b888a150476ba955ce4765858824c633cfd2 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <kuba@kernel.org> | Mon Dec 13 17:39:02 2021 -0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Dec 14 12:35:56 2021 +0000 |
tree | bdc4ea0553c8470d3340a80a6e98c8ead4aa4760 | |
parent | a9aa5e3320ae9d322091993e4ed1b7e7651f00a1 [diff] |
ethtool: fix null-ptr-deref on ref tracker dev can be a NULL here, not all requests set require_dev. Fixes: e4b8954074f6 ("netlink: add net device refcount tracker to struct ethnl_req_info") Signed-off-by: Jakub Kicinski <kuba@kernel.org> Reviewed-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>