04 Sep, 2019

1 commit


19 Jun, 2019

1 commit

  • Based on 2 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license version 2 as
    published by the free software foundation

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license version 2 as
    published by the free software foundation #

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

    has been chosen to replace the boilerplate/reference in 4122 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Enrico Weigelt
    Reviewed-by: Kate Stewart
    Reviewed-by: Allison Randal
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190604081206.933168790@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

18 Jan, 2019

1 commit


04 Sep, 2017

1 commit


13 Mar, 2017

1 commit


15 Dec, 2016

1 commit

  • Dumping of netlink attributes may fail due to insufficient room in the
    skbuff, so let's reset consumed quota if we succeed to put netlink
    attributes into the skbuff.

    Fixes: 43da04a593d8 ("netfilter: nf_tables: atomic dump and reset for stateful objects")
    Reported-by: Eric Dumazet
    Signed-off-by: Pablo Neira Ayuso

    Pablo Neira Ayuso
     

07 Dec, 2016

5 commits


07 Sep, 2016

2 commits


22 Aug, 2016

1 commit

  • This patch adds the quota expression. This new stateful expression
    integrate easily into the dynset expression to build 'hashquota' flow
    tables.

    Arguably, we could use instead "counter bytes > 1000" instead, but this
    approach has several problems:

    1) We only support for one single stateful expression in dynamic set
    definitions, and the expression above is a composite of two
    expressions: get counter + comparison.

    2) We would need to restore the packed counter representation (that we
    used to have) based on seqlock to synchronize this, since per-cpu is
    not suitable for this.

    So instead of bloating the counter expression back with the seqlock
    representation and extending the existing set infrastructure to make it
    more complex for the composite described above, let's follow the more
    simple approach of adding a quota expression that we can plug into our
    existing infrastructure.

    Signed-off-by: Pablo Neira Ayuso

    Pablo Neira Ayuso