core: Limit the number of pages printed in print_pfn event

This function was otherwise exceeding the stack size limit as
notified during compile time-

ld.lld: warning: stack frame size (2112) exceeds limit (2048) in
function 'rmnet_descriptor_trace_pfn'

CRs-Fixed: 3221860
Change-Id: I162101b70a4a3d8bfa28fd73ca65a17e3bb6f0ca
Signed-off-by: Subash Abhinov Kasiviswanathan <quic_subashab@quicinc.com>
This commit is contained in:
Subash Abhinov Kasiviswanathan
2022-06-15 08:44:51 -06:00
orang tua b175518950
melakukan c7cf3b260b

Melihat File

@@ -797,7 +797,7 @@ static void rmnet_frag_partial_csum(struct sk_buff *skb,
skb->csum_start = (u8 *)iph + frag_desc->ip_len - skb->head;
}
#define PFN_ENTRY_MAX (256)
#define PFN_ENTRY_MAX (128)
#define PFNI (count++ % PFN_ENTRY_MAX)
static void rmnet_descriptor_trace_pfn(struct sk_buff *skb)
{