diff options
author | monthadar <monthadar@FreeBSD.org> | 2013-02-07 21:19:44 +0000 |
---|---|---|
committer | monthadar <monthadar@FreeBSD.org> | 2013-02-07 21:19:44 +0000 |
commit | 23b698b92fefd4ca8892bb5d116a1709e19c9c09 (patch) | |
tree | 2225b25751d8950a97946a9bcdb5bb08ed42a134 /sys/net80211/ieee80211_hwmp.c | |
parent | d1e96afdf87d937574a67257cb35c0f0b2e1ad47 (diff) | |
download | FreeBSD-src-23b698b92fefd4ca8892bb5d116a1709e19c9c09.zip FreeBSD-src-23b698b92fefd4ca8892bb5d116a1709e19c9c09.tar.gz |
HWMP: Accept a PERR even if path is valid.
* An HWMP PERR should be accepted even if path is valid. Because
we check if we recevied it from a neighbour that we use as a next hop;
Approved by: adrian (mentor)
Diffstat (limited to 'sys/net80211/ieee80211_hwmp.c')
-rw-r--r-- | sys/net80211/ieee80211_hwmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_hwmp.c b/sys/net80211/ieee80211_hwmp.c index f15347c..7c8b3f9 100644 --- a/sys/net80211/ieee80211_hwmp.c +++ b/sys/net80211/ieee80211_hwmp.c @@ -1528,7 +1528,7 @@ hwmp_recv_perr(struct ieee80211vap *vap, struct ieee80211_node *ni, */ for (i = 0; i < perr->perr_ndests; i++) { rt = ieee80211_mesh_rt_find(vap, PERR_DADDR(i)); - if (rt == NULL || rt->rt_flags & IEEE80211_MESHRT_FLAGS_VALID) + if (rt == NULL) continue; if (!IEEE80211_ADDR_EQ(rt->rt_nexthop, wh->i_addr2)) continue; |