Re: [PATCH v22 bpf-next 19/23] bpf: generalise tail call map compatibility check

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

 



On Mon, Jan 17, 2022 at 06:28:31PM +0100, Lorenzo Bianconi wrote:
>  	seq_printf(m,
> @@ -590,6 +589,7 @@ static void bpf_map_show_fdinfo(struct seq_file *m, struct file *filp)
>  	if (type) {
>  		seq_printf(m, "owner_prog_type:\t%u\n", type);
>  		seq_printf(m, "owner_jited:\t%u\n", jited);
> +		seq_printf(m, "owner_xdp_has_frags:\t%u\n", xdp_has_frags);

Internal flag shouldn't be printed in fdinfo.
In particular it's not correct for non-xdp progs.



[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