linux/net/ieee802154
Dan Robertson 1f95741981 net: ieee802154: fix null deref in parse dev addr
[ Upstream commit 9fdd04918a452980631ecc499317881c1d120b70 ]

Fix a logic error that could result in a null deref if the user sets
the mode incorrectly for the given addr type.

Signed-off-by: Dan Robertson <dan@dlrobertson.com>
Acked-by: Alexander Aring <aahringo@redhat.com>
Link: https://lore.kernel.org/r/20210423040214.15438-2-dan@dlrobertson.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-06-30 08:49:10 -04:00
..
2016-07-08 12:20:57 +02:00
2016-07-08 12:20:57 +02:00
2014-11-09 19:50:29 +01:00
2015-07-23 17:10:49 +02:00
2014-10-28 23:19:09 +01:00