diff options
| author | 2026-04-29 14:30:01 -0700 | |
|---|---|---|
| committer | 2026-05-01 16:46:30 -0700 | |
| commit | fa11b40480132077de3787cf2122646b0c8ecc41 (patch) | |
| tree | 47b9eccdf29ae5ee8324b64d21b1970ec356e2e1 /scripts/Makefile.thinlto | |
| parent | Merge branch 'net-sched-tc_dump_qdisc-optimizations' (diff) | |
net: tls: reshuffle the device ops check
We try to validate during registration that the netdev
has ops if it has features. This is currently somewhat sillily
written because we have a dereference before a NULL check
on the ops struct. Straighten this out.
No functional change intended other than saving ourselves
the very theoretical crash with a bad driver.
Note that we check earlier in the function that either ops
or TLS features are set for the device in question.
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20260429213001.1908235-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
