summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mediatek/mt76/agg-rx.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2019-12-21 16:46:53 +0100
committerFelix Fietkau <nbd@nbd.name>2020-02-14 10:06:02 +0100
commitd55aa5e17461b8b423adae376978032c4a10a1d8 (patch)
tree3aa77a013e5317f84601636b6117d0c3adc8f1c2 /drivers/net/wireless/mediatek/mt76/agg-rx.c
parentc99dc3c1524de875226528995abbb0294303bd6c (diff)
mt76: mt7603: fix input validation issues for powersave-filtered frames
Before extracting the tid out of the packet, check if it was qos-data. Only accept tid values 0-7 Also, avoid accepting the hardware queue as skb queue mapping, it could lead to an overrun. Instead, derive the hardware queue from the tid number, in order to avoid issues with packets being filtered multiple times. This also fixes a mismatch between hardware and software queue indexes. Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/agg-rx.c')
0 files changed, 0 insertions, 0 deletions