Thread (4 messages) 4 messages, 4 authors, 2025-09-04

Re: [PATCH net] ipv4: Fix NULL vs error pointer check in inet_blackhole_dev_init()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-09-04 00:10:01
Also in: kernel-janitors, lkml

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Tue, 2 Sep 2025 09:36:08 +0300 you wrote:
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 <redacted>
---
 net/ipv4/devinet.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
Here is the summary with links:
  - [net] ipv4: Fix NULL vs error pointer check in inet_blackhole_dev_init()
    https://git.kernel.org/netdev/net/c/a51160f8da85

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help