]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: bcm_sf2: Allow matching arbitrary IPv6 masks/lengths
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 20 Oct 2017 21:39:49 +0000 (14:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Oct 2017 02:06:47 +0000 (03:06 +0100)
commitb8b6bd4d99d2de95e01ced603b26baafe6a6cc96
tree9da60c9ec6a4b5fee6a59507fedd712d8fc41aed
parente779553904ffac0ae46be140bdd907952ee667b0
net: dsa: bcm_sf2: Allow matching arbitrary IPv6 masks/lengths

There is no reason why we should limit ourselves to matching only
full IPv4 addresses (/32), the same logic applies between the DATA and
MASK ports, so just make it more configurable to accept both.

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