diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2017-10-20 14:39:47 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-23 03:06:47 +0100 |
commit | ba0696c22e7c5b7394283a0dbef1462252d1606f (patch) | |
tree | 075469fb5512308d18c70e963f3f20e70e9a569f /drivers/net/dsa/bcm_sf2.c | |
parent | 4daa70cfb69186a4fe70fa2fefc271a41ece5085 (diff) | |
download | linux-stable-ba0696c22e7c5b7394283a0dbef1462252d1606f.tar.gz linux-stable-ba0696c22e7c5b7394283a0dbef1462252d1606f.tar.bz2 linux-stable-ba0696c22e7c5b7394283a0dbef1462252d1606f.zip |
net: dsa: bcm_sf2: Add support for IPv6 CFP rules
Inserting IPv6 CFP rules complicates the code a little bit in that we
need to insert two rules side by side and chain them to match a full
IPv6 tuple (src, dst IPv6 + port + protocol).
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/bcm_sf2.c')
-rw-r--r-- | drivers/net/dsa/bcm_sf2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/bcm_sf2.c b/drivers/net/dsa/bcm_sf2.c index b43c063b9634..2574a52ee161 100644 --- a/drivers/net/dsa/bcm_sf2.c +++ b/drivers/net/dsa/bcm_sf2.c @@ -1067,6 +1067,7 @@ static int bcm_sf2_sw_probe(struct platform_device *pdev) * permanently used */ set_bit(0, priv->cfp.used); + set_bit(0, priv->cfp.unique); bcm_sf2_identify_ports(priv, dn->child); |