aboutsummaryrefslogtreecommitdiffstats
path: root/net/mctp/af_mctp.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2025-09-02 06:36:08 +0000
committerJakub Kicinski <[email protected]>2025-09-03 23:58:44 +0000
commita51160f8da850a65afbf165f5bbac7ffb388bf74 (patch)
tree123b06887ffa92bb6bf928e58d1a461089f259cf /net/mctp/af_mctp.c
parentnet: thunder_bgx: decrement cleanup index before use (diff)
downloadkernel-a51160f8da850a65afbf165f5bbac7ffb388bf74.tar.gz
kernel-a51160f8da850a65afbf165f5bbac7ffb388bf74.zip
ipv4: Fix NULL vs error pointer check in inet_blackhole_dev_init()
The inetdev_init() function never returns NULL. Check for error pointers instead. Fixes: 22600596b675 ("ipv4: give an IPv4 dev to blackhole_netdev") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Simon Horman <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/mctp/af_mctp.c')
0 files changed, 0 insertions, 0 deletions