On 2024-04-02 at 17:43:07, Heng Qi (hen...@linux.alibaba.com) wrote:
> Extract the initialization and destruction actions
> of dim for use in the next patch.
>
> Signed-off-by: Heng Qi
> ---
> drivers/net/virtio_net.c | 37 ++---
> 1 file changed, 26 insertions(+),
On Wed, Jun 24, 2015 at 6:16 PM, Eric Dumazet wrote:
> You misunderstood the comment.
>
> Comment only stated that sock_hold() must be used in contexts where
> caller owns a reference (and will eventually release it later with
> sock_put().
>
> There is nothing about having a lock here.
Thanks. I
Hi list,
There is a comment on sock_hold() function -
561 /* Grab socket reference count. This operation is valid only
562when sk is ALREADY grabbed f.e. it is found in hash table
563or a list and the lookup is made under lock preventing hash table
564modifications.
565 */
But i co