aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorRakshith Suresh Patkar <rpatkar@codeaurora.org>2020-08-05 13:46:44 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2021-03-26 01:09:21 -0700
commit85cb8b2230f2ae6b396502bd4f92bb4871e82eb6 (patch)
tree170c6c45242d8b8cbf0db7804f5aec6b54718b3f /net/lapb/lapb_timer.c
parent934ff6b45db46925f79563dc920861e2ced8e8d2 (diff)
qcacmn: Add debug log to trap unsuccessful dbr vaddr lookup
In direct buf rx, if physical address is not intact or is corrupt, the dbr lookup for vaddr will fail and result in vaddr being NULL. There is no validation for this vaddr in the caller and hence results in NULL access in the callstack. Add debug log and return error status when dbr vaddr lookup fails, which indicates that there is corruption in paddr received and avoid NULL access. Change-Id: I76ee300ce3e686765dd5c4ee73fa71d1735c163a CRs-Fixed: 2748529
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions