Thread (5 messages) flat view 5 messages, 4 authors, 2021-03-23

Re: [PATCH net-next] net: set initial device refcount to 1

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-03-23 00:31:15

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Mon, 22 Mar 2021 11:21:45 -0700 you wrote:
From: Eric Dumazet <edumazet@google.com>

When adding CONFIG_PCPU_DEV_REFCNT, I forgot that the
initial net device refcount was 0.

When CONFIG_PCPU_DEV_REFCNT is not set, this means
the first dev_hold() triggers an illegal refcount
operation (addition on 0)

[...]
Here is the summary with links:
  - [net-next] net: set initial device refcount to 1
    https://git.kernel.org/netdev/net-next/c/add2d7363107

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