mac802154: Avoid delivering frames received in a non satisfying filtering mode
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 7 Oct 2022 08:53:09 +0000 (10:53 +0200)
committerStefan Schmidt <stefan@datenfreihafen.org>
Wed, 12 Oct 2022 10:57:26 +0000 (12:57 +0200)
commit0218277df5a527c9e9474aa0e4e4e2f4bbc6f5cc
tree2e95e1e6497a1d15b4db0f4ebdde92c2d6887720
parenta4b5b4c56dd8b1dd46b2f13cb09f5f8031978f86
mac802154: Avoid delivering frames received in a non satisfying filtering mode

We must avoid the situation where one interface disables address
filtering and AACK on the PHY while another interface expects to run
with AACK and address filtering enabled. Just ignore the frames on the
concerned interface if this happens.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Alexander Aring <aahringo@redhat.com>
Link: https://lore.kernel.org/r/20221007085310.503366-8-miquel.raynal@bootlin.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
net/mac802154/rx.c