Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ethtool: fix null-ptr-deref on ref tracker
dev can be a NULL here, not all requests set require_dev. Fixes: e4b8954 ("netlink: add net device refcount tracker to struct ethnl_req_info") Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information