]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: dsa: bcm_sf2: Check earlier for FLOW_EXT and FLOW_MAC_EXT
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 30 Mar 2020 21:38:51 +0000 (14:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Mar 2020 02:55:42 +0000 (19:55 -0700)
commit5ae8c0d51ace3bdbfb89c27e7661f081cc9287de
treefb98439f61b8e0c9492cffa10f91fea6b3045c00
parent8b6b208b69917d88bb3e087f8c9e61c6b05ed571
net: dsa: bcm_sf2: Check earlier for FLOW_EXT and FLOW_MAC_EXT

We do not currently support matching on FLOW_EXT or FLOW_MAC_EXT, but we
were not checking for those bits being set in the flow specification.

The check for FLOW_EXT and FLOW_MAC_EXT are separated out because a
subsequent commit will add support for matching VLAN TCI which are
covered by FLOW_EXT.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/bcm_sf2_cfp.c