]> git.baikalelectronics.ru Git - kernel.git/commit
ieee802154: cleanup WARN_ON for fc fetch
authorAlexander Aring <aar@pengutronix.de>
Wed, 6 Jul 2016 21:32:30 +0000 (23:32 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 8 Jul 2016 11:23:12 +0000 (13:23 +0200)
commit7a27248cba406566d06ab252c40c337250bd60f5
treee2a0aa89cba64dc71f3c7363a56ba2dae6137624
parentcea6b069b48adad75166cb11dc604b07ac00ccb4
ieee802154: cleanup WARN_ON for fc fetch

This patch cleanups the WARN_ON which occurs when the sk buffer has
insufficient buffer space by moving the WARN_ON into if condition.

Signed-off-by: Alexander Aring <aar@pengutronix.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/mac802154.h