From: Michal Kazior Date: Fri, 10 Apr 2015 13:02:28 +0000 (+0000) Subject: ath10k: add extra check for frame tracing X-Git-Tag: omap-for-v4.3/legacy-v2-signed~163^2~230^2~34^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36d8230b7d4fcd6f1a0c98b579d229bc919fa1fb;p=pandora-kernel.git ath10k: add extra check for frame tracing Frames are logged via tracing in two slices: header and payload, separately. This is done for performance reasons when one wants to, e.g. analyse metadata only of frames only. If for some reason device delivered a frame buffer which was sized below what 802.11 header implied tracing logic would blow doing an invalid memory accesses. I've hit this problem when running IBSS on QCA988X with 999.999.0.636 and tracing at the same time. Fixes: 5ce8e7fdcc7a ("ath10k: handle ieee80211 header and payload tracing separately") Signed-off-by: Michal Kazior Signed-off-by: Kalle Valo --- Reading git-diff-tree failed