Skip to content

Commit 2ac64cd

Browse files
Javier Cardonajmberg-intel
authored andcommitted
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>
1 parent 555cb71 commit 2ac64cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/mac80211/rx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1944,7 +1944,7 @@ ieee80211_rx_h_mesh_fwding(struct ieee80211_rx_data *rx)
19441944

19451945
if (!--mesh_hdr->ttl) {
19461946
IEEE80211_IFSTA_MESH_CTR_INC(ifmsh, dropped_frames_ttl);
1947-
return RX_DROP_MONITOR;
1947+
goto out;
19481948
}
19491949

19501950
if (!ifmsh->mshcfg.dot11MeshForwarding)

0 commit comments

Comments
 (0)