diff options
author | Javier Cardona <javier@cozybit.com> | 2012-10-24 19:43:31 (GMT) |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-10-25 11:52:20 (GMT) |
commit | 2ac64cd17f9af6d6adaa921bd9846a3c9bb9235c (patch) | |
tree | e894fcd7bfb9dee8e1d242ecd79f082090510ce3 | |
parent | 555cb715be8ef98b8ec362b23dfc254d432a35b1 (diff) | |
download | linux-fsl-qoriq-2ac64cd17f9af6d6adaa921bd9846a3c9bb9235c.tar.xz |
mac80211: Don't drop frames received with mesh ttl == 1
Prior this fix, those frames were not received, nor forwarded. Fix
this to receive and not forward.
Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r-- | net/mac80211/rx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 1222127..f73e0dd 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c @@ -1944,7 +1944,7 @@ ieee80211_rx_h_mesh_fwding(struct ieee80211_rx_data *rx) if (!--mesh_hdr->ttl) { IEEE80211_IFSTA_MESH_CTR_INC(ifmsh, dropped_frames_ttl); - return RX_DROP_MONITOR; + goto out; } if (!ifmsh->mshcfg.dot11MeshForwarding) |