]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: mesh: add missing case to PERR processing
authorAlexis Green <agreen@cococorp.com>
Wed, 10 Jun 2015 18:02:09 +0000 (11:02 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 17 Jul 2015 13:38:13 +0000 (15:38 +0200)
commitbf6e107884f6edbebc9e9973101a458fe49c8792
treedd47735947a7e598e5fe73142ec242e2bfc6be11
parent35190f2941e59f63b0e6235129f94ebe1d9bd5ad
mac80211: mesh: add missing case to PERR processing

When the nexthop is unable to resolve its own nexthop it will send back a
PERR with a zero target_sn. According to section 13.10.11.4.3 step b in the
2012 standard that perr should be forwarded and the associated mpath->sn
should be incremented. Neither one of those was happening which is rather
bad because the originator was not told that packets are black holing.

Signed-off-by: Alexis Green <agreen@cococorp.com>
CC: Jesse Jones <jjones@cococorp.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh_hwmp.c