summaryrefslogtreecommitdiff
path: root/drivers/net/wan
diff options
context:
space:
mode:
authorWen Gong <quic_wgong@quicinc.com>2023-08-09 04:16:57 -0400
committerKalle Valo <quic_kvalo@quicinc.com>2023-08-25 10:36:59 +0300
commit2f5124e86ae74b7ba24c9ae2644107b750cbf38f (patch)
treedbe24249c9aa33cd81e02f47053cdb006273e636 /drivers/net/wan
parent1e4134610d93271535ecf900a676e1f094e9944c (diff)
wifi: ath12k: add check max message length while scanning with extraie
Currently the extraie length is directly used to allocate skb buffer. When the length of skb is greater than the max message length which firmware supports, error will happen in firmware side. Hence add check for the skb length and drop extraie when overflow and print a message. Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4 Signed-off-by: Wen Gong <quic_wgong@quicinc.com> Reviewed-by: Jeff Johnson <quic_jjohnson@quicinc.com> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com> Link: https://lore.kernel.org/r/20230809081657.13858-1-quic_wgong@quicinc.com
Diffstat (limited to 'drivers/net/wan')
0 files changed, 0 insertions, 0 deletions