78cb6bbbcc92c01f5db5484e26b6aab48fbbfdf6

Currently if the peer is not registered, we add packets to a cached_bufq (within a peer). In case the peer is not registered for quite a long time, or if the vdev->rx pointer is somehow not set (when the vdev is associated), this will lead to large number of nbufs from the FW being added to this list. Eventually, we will run out of memory trying to add nbufs to this list. Keep an upper threshold on the number of elements in the cached_bufq. Drop elements once the threshold is reached. Change-Id: I02db9347addd77976f1d84897eee20d1e6f9c4ec CRs-Fixed: 2026991
This is CNSS WLAN Host Driver for products starting from iHelium
Опис
Мови
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%