Skip to content

net: dsa: bcm_sf2: CFP fixes

Florian Fainelli lkml netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesIn review
  2. v11 patch 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: dsa: bcm_sf2: Fix RX_CLS_LOC_ANY overwrite for last ruledrivers/net/dsa/bcm_sf2_cfp.c+4 -10 replies
2/3net: dsa: bcm_sf2: Fix IPv6 rules and chain IDdrivers/net/dsa/bcm_sf2_cfp.c+11 -90 replies
3/3net: dsa: bcm_sf2: Fix IPv6 rule half deletiondrivers/net/dsa/bcm_sf2_cfp.c+7 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH net v2 0/3] net: dsa: bcm_sf2: CFP fixes

Hi David,

This patch series fixes a number of usability issues with the SF2 Compact Field Processor code:

- we would not be properly bound checking the location when we let the kernel automatically place rules with RX_CLS_LOC_ANY

- when using IPv6 rules and user space specifies a location identifier we would be off by one in what the chain ID (within the Broadcom tag) indicates

- it would be possible to delete one of the two slices of an IPv6 while leaving the other one programming leading to various problems

Florian Fainelli (3):
net: dsa: bcm_sf2: Fix RX_CLS_LOC_ANY overwrite for last rule
net: dsa: bcm_sf2: Fix IPv6 rules and chain ID
net: dsa: bcm_sf2: Fix IPv6 rule half deletion

 drivers/net/dsa/bcm_sf2_cfp.c | 36 ++++++++++++++++++++++--------------
 1 file changed, 22 insertions(+), 14 deletions(-)
Signature · 1 line
2.14.1