Re: [OFFLIST RFC 3/4] bpf: Support bpf_kptr_xchg into local kptr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 19, 2024 at 05:21:18PM +0000, Amery Hung wrote:
> From: Dave Marchevsky <davemarchevsky@xxxxxx>
> 
> Signed-off-by: Dave Marchevsky <davemarchevsky@xxxxxx>

Amery,
please add your SOB after Dave's when you're sending patches like this.

Remove OFFLIST in subject... and resend cc-ing bpf@vger.

Add proper commit log.

> -	if (meta->func_id == BPF_FUNC_kptr_xchg && type_is_alloc(type)) {
> +	if (meta->func_id == BPF_FUNC_kptr_xchg && type_is_alloc(type) && regno > 1) {

I don't understand the point of regno > 1. Pls explain/add comment.

Patches 1 and 2 make sense.




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux