Re: [PATCH] bpf: add missing NULL check for __dev_get_by_index

From: Markus Elfring
Date: Sun Mar 09 2025 - 05:38:53 EST



> We should handle this case by adding a NULL check
> and cleaning up if it does happened.

Please improve such a change description another bit.

See also:
https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.14-rc5#n94

Regards,
Markus