summaryrefslogtreecommitdiff
path: root/ifpps.c
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2017-12-19 00:38:18 +0200
committerTobias Klauser <tklauser@distanz.ch>2017-12-19 10:06:43 +0100
commit6e850d43799e0ed00a87313b826211fe57d03a03 (patch)
tree5ecd82a3e29f65bb04a459b170e4ee6f7cfe2fe1 /ifpps.c
parent642b2d816562ee0588aefa0947a4ee23600adbc5 (diff)
flowtop: Fix use-after-free on filter reload
There is missing logic which removes flow entry from related proc's entry while destroying global flows list on filter reloading, hence add common __flow_list_del_entry which handles this logic for both cases - when ct destroyed or filter changed. This is a 2nd fix for issue #183. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'ifpps.c')
0 files changed, 0 insertions, 0 deletions
be unloaded and hence not be unmarked. If a SPI driver module is unloaded and reloaded, it will skip nodes that failed before. Skip device nodes that are already populated and mark them only in case of success. Note that the same issue exists for I2C. Fixes: bd6c164 ("spi: Mark instantiated device nodes with OF_POPULATE") Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'Documentation/devicetree')