Re: [PATCH RFC net-next v3 5/8] netconsole: Include sysdata in extradata entry count

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

 



On Fri, Jan 24, 2025 at 07:16:44AM -0800, Breno Leitao wrote:
> Modify count_extradata_entries() to include sysdata fields when
> calculating the total number of extradata entries. This change ensures
> that the sysdata feature, specifically the CPU number field, is
> correctly counted against the MAX_EXTRADATA_ITEMS limit.
> 
> The modification adds a simple check for the CPU_NR flag in the
> sysdata_fields, incrementing the entry count accordingly.
> 
> Signed-off-by: Breno Leitao <leitao@xxxxxxxxxx>

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>





[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux