]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: do not send duplicate data frames to the cooked monitor interface
authorFelix Fietkau <nbd@openwrt.org>
Fri, 4 Feb 2011 18:20:08 +0000 (19:20 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 4 Feb 2011 21:29:52 +0000 (16:29 -0500)
commit59ae0d2cfcf5ffb2de4074ae6a855ab08a1bc9dc
tree9d6e690e3dca33295e3ca1f156bf9a84429f7388
parent4340b5e9454fb4bca5bc73ca070b6cd2cda5f3f0
mac80211: do not send duplicate data frames to the cooked monitor interface

I can't think of a valid use case for this aside from debugging (which can
also be done with a real monitor interface), and dropping these frames saves
some precious CPU cycles.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rx.c