]> Git Repo - linux.git/commit
ethtool: fix null-ptr-deref on ref tracker
authorJakub Kicinski <[email protected]>
Tue, 14 Dec 2021 01:39:02 +0000 (17:39 -0800)
committerDavid S. Miller <[email protected]>
Tue, 14 Dec 2021 12:35:56 +0000 (12:35 +0000)
commit0976b888a150476ba955ce4765858824c633cfd2
treebdc4ea0553c8470d3340a80a6e98c8ead4aa4760
parenta9aa5e3320ae9d322091993e4ed1b7e7651f00a1
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 <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/ethtool/netlink.c
This page took 0.049685 seconds and 4 git commands to generate.