OSDN Git Service

mac80211: mesh: drop frames appearing to be from us
authorJohannes Berg <johannes.berg@intel.com>
Thu, 4 Jan 2018 14:51:53 +0000 (15:51 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 4 Jan 2018 14:51:53 +0000 (15:51 +0100)
commit736a80bbfda709fb3631f5f62056f250a38e5804
tree72e125407bb1976cf3efd3cdb909e2f67a73fb83
parent3ea15452ee85754f70f3b9fa1f23165ef2e77ba7
mac80211: mesh: drop frames appearing to be from us

If there are multiple mesh stations with the same MAC address,
they will both get confused and start throwing warnings.

Obviously in this case nothing can actually work anyway, so just
drop frames that look like they're from ourselves early on.

Reported-by: Gui Iribarren <gui@altermundi.net>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c