]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mac80211: don't initiate path discovery when forwarding frame with unknown DA
authorThomas Pedersen <thomas@cozybit.com>
Fri, 25 Nov 2011 01:15:25 +0000 (17:15 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 28 Nov 2011 19:44:07 +0000 (14:44 -0500)
commit0cfda8519c85eb279166fb55a8553ee66eac9b35
tree55f917c9402c0164a76c80b4675ea173562a869f
parentdca7e9430cb3e492437a5ce891b8b3e315c147ca
mac80211: don't initiate path discovery when forwarding frame with unknown DA

We used to initiate a path discovery when receiving a frame for which
there is no forwarding information. To cut down on PREQ spam, just send
a (gated) PERR in response.

Also separate path discovery logic from nexthop querying. This patch
means we no longer queue frames when forwarding, so kill the PERR TX
stuff in discard_frame().

Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mesh.h
net/mac80211/mesh_hwmp.c
net/mac80211/mesh_pathtbl.c
net/mac80211/rx.c
net/mac80211/tx.c