summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-10-27 17:13:40 +0100
committerMarcel Holtmann <marcel@holtmann.org>2014-10-27 18:07:49 +0100
commitfa491001e4edae5ed68a562b61ed729968a3ca1c (patch)
treef6a2474c85b0ac0c0d46ec10f1048d8feafb37c3 /drivers
parentmac802154: rx: move rcu locking (diff)
downloadlinux-fa491001e4edae5ed68a562b61ed729968a3ca1c.tar.xz
linux-fa491001e4edae5ed68a562b61ed729968a3ca1c.zip
ieee802154: add valid psdu length helper
This patch adds a generic valid psdu length check function helper. This is useful to check the length field after receiving. For example the at86rf231 doesn't filter invalid psdu length. Sometimes the CRC can also be correct. If we get the lqi value with an invalid frame length the kernel may crash because we dereference an invalid pointer in the receive buffer. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions