OSDN Git Service

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>
Sat, 3 Feb 2018 16:39:03 +0000 (17:39 +0100)
commit841211271eccb49f7f4a71442c13a09d4b6a92b0
tree3fc1500c9de5ef6965d3bc57ba1f1a0edfdc8a8d
parente23090a7d8f05f03cf564148472130286f5ca9bf
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@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/mesh_hwmp.c