summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubash Abhinov Kasiviswanathan <quic_subashab@quicinc.com>2022-06-15 08:44:51 -0600
committerSubash Abhinov Kasiviswanathan <quic_subashab@quicinc.com>2022-06-15 08:51:54 -0600
commitc7cf3b260b9bfdc1b85fe53028842265de65c3af (patch)
treeffe14a4659b1d5f0d838bc9ad8649d458a55e1af
parentb17551895013963ea9de5179ffb7408dbfa8d484 (diff)
downloaddata-kernel-c7cf3b260b9bfdc1b85fe53028842265de65c3af.tar.gz
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>
-rw-r--r--core/rmnet_descriptor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/rmnet_descriptor.c b/core/rmnet_descriptor.c
index 374170a..6a4ca0a 100644
--- a/core/rmnet_descriptor.c
+++ b/core/rmnet_descriptor.c
@@ -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)
{