]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: fix validation of mesh path nexthop
authorMarkus Theil <markus.theil@tu-ilmenau.de>
Tue, 29 Oct 2019 09:30:03 +0000 (10:30 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 30 Oct 2019 09:11:18 +0000 (10:11 +0100)
commite466b80b9230974823566f5402c999c7894bd59d
tree78441dd92cd6da0d7ed6859b221b03fdb79c4b7a
parent24a68d5e433ecde74e29500c6d6e9a508961fb6d
nl80211: fix validation of mesh path nexthop

Mesh path nexthop should be a ethernet address, but current validation
checks against 4 byte integers.

Cc: stable@vger.kernel.org
Fixes: ddbba5a0f2eac ("nl80211/cfg80211: support for mesh, sta dumping")
Signed-off-by: Markus Theil <markus.theil@tu-ilmenau.de>
Link: https://lore.kernel.org/r/20191029093003.10355-1-markus.theil@tu-ilmenau.de
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c