OSDN Git Service

Merge branch 'dsa-bcm_sf2-CFP-fixes'
authorDavid S. Miller <davem@davemloft.net>
Wed, 16 May 2018 18:11:23 +0000 (14:11 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 May 2018 18:11:23 +0000 (14:11 -0400)
commitac22bfb15c83636c28df2754456fb0a00c6e82da
treebaef285c02d4616782e6c11976041e3f3889bcf0
parente1b505a60366399d735312ca38b0a6753a684123
parent1942adf64214df370350aa46954ba27654456f68
Merge branch 'dsa-bcm_sf2-CFP-fixes'

Florian Fainelli says:

====================
net: dsa: bcm_sf2: CFP fixes

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
====================

Signed-off-by: David S. Miller <davem@davemloft.net>