Thread (22 messages) 22 messages, 7 authors, 2022-08-05

Re: [PATCH v4] net: fix refcount bug in sk_psock_get (2)

From: Hawkins Jiawei <hidden>
Date: 2022-08-05 06:29:32
Also in: bpf, linux-kernel-mentees, lkml

On Thu, 4 Aug 2022 at 23:29, Jakub Kicinski [off-list ref] wrote:
On Thu,  4 Aug 2022 11:05:15 +0800 Hawkins Jiawei wrote:
quoted
I wonder if it is proper to gather these together in a patchset, for
they are all about flags in sk_user_data, maybe:

[PATCH v5 0/2] net: enhancement to flags in sk_user_data field
      - introduce the patchset

[PATCH v5 1/2] net: clean up code for flags in sk_user_data field
      - refactor the things in include/linux/skmsg.h and
include/net/sock.h
      - refactor the flags's usage by other code, such as
net/core/skmsg.c and kernel/bpf/reuseport_array.c

[PATCH v5 2/2] net: fix refcount bug in sk_psock_get (2)
      - add SK_USER_DATA_PSOCK flag in sk_user_data field
Usually the fix comes first, because it needs to be backported to
stable, and we don't want to have to pull extra commits into stable
and risk regressions in code which was not directly involved in the bug.
Ok, I got it. Thanks for the explanation.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help