Re: [Patch bpf-next v6 02/12] skmsg: introduce a spinlock to protect ingress_msg
From: Cong Wang <hidden>
Date: 2021-03-23 03:39:03
Also in:
bpf
From: Cong Wang <hidden>
Date: 2021-03-23 03:39:03
Also in:
bpf
On Mon, Mar 22, 2021 at 6:25 PM Yunsheng Lin [off-list ref] wrote:
On 2021/3/23 8:37, Cong Wang wrote:quoted
+static inline struct sk_msg *sk_psock_next_msg(struct sk_psock *psock, + struct sk_msg *msg) +{ + struct sk_msg *ret;Nit: Use msg instead of ret to be consistently with sk_psock_dequeue_msg() and sk_psock_next_msg().
Please read it carefully, clearly 'msg' is already a parameter name here. Thanks.