]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix unaligned access in mesh table hash function
authorFelix Fietkau <nbd@nbd.name>
Wed, 13 Mar 2019 17:54:27 +0000 (18:54 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 29 Mar 2019 10:18:48 +0000 (11:18 +0100)
commit9972480cd2ad52aaaa7a31ef700727606e9d184b
tree5710a4a42eb62ccff3aed29e2d18a2e4971ca2c7
parent17e42049c9564839c7264cf8d54450b260726f82
mac80211: fix unaligned access in mesh table hash function

The pointer to the last four bytes of the address is not guaranteed to be
aligned, so we need to use __get_unaligned_cpu32 here

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh_pathtbl.c