diff options
author | Maxime Chevallier | 2019-06-11 11:51:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2019-06-22 08:15:15 +0200 |
commit | 97605ba68790ff94358a50bc33f27b85431e5e67 (patch) | |
tree | 3846906105ad8c65a60fb06e933e90c77b92fa6e /drivers/staging | |
parent | net: mvpp2: prs: Fix parser range for VID filtering (diff) | |
download | kernel-qcow2-linux-97605ba68790ff94358a50bc33f27b85431e5e67.tar.gz kernel-qcow2-linux-97605ba68790ff94358a50bc33f27b85431e5e67.tar.xz kernel-qcow2-linux-97605ba68790ff94358a50bc33f27b85431e5e67.zip |
net: mvpp2: prs: Use the correct helpers when removing all VID filters
[ Upstream commit 6b7a3430c163455cf8a514d636bda52b04654972 ]
When removing all VID filters, the mvpp2_prs_vid_entry_remove would be
called with the TCAM id incorrectly used as a VID, causing the wrong
TCAM entries to be invalidated.
Fix this by directly invalidating entries in the VID range.
Fixes: 56beda3db602 ("net: mvpp2: Add hardware offloading for VLAN filtering")
Suggested-by: Yuri Chipchev <yuric@marvell.com>
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
0 files changed, 0 insertions, 0 deletions