]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mac80211: fix the update of path metric for RANN frame
authorChun-Yeow Yeoh <yeohchunyeow@gmail.com>
Tue, 14 Nov 2017 15:20:05 +0000 (23:20 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Feb 2018 19:07:55 +0000 (11:07 -0800)
commitf3ca475ce752c5f8232b3629010571a978f8f97d
tree3af7cf807eab6ae70ffcbe625a72cfae6157c2a5
parented996209f0209d8863e135252a5c392aa5e775fe
mac80211: fix the update of path metric for RANN frame

[ Upstream commit fbbdad5edf0bb59786a51b94a9d006bc8c2da9a2 ]

The previous path metric update from RANN frame has not considered
the own link metric toward the transmitting mesh STA. Fix this.

Reported-by: Michael65535
Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/mesh_hwmp.c