aboutsummaryrefslogtreecommitdiffstats
path: root/net/hsr
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2019-02-13 13:18:36 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2019-02-27 10:41:24 +0100
commitb8e204006340b7aaf32bd2b9806c692f6e0cb38a (patch)
tree0fc41be04455ce2cb1f19a6c9f5203fb8e92df5e /net/hsr
parentnet: sched: pie: fix 64-bit division (diff)
downloadlinux-dev-b8e204006340b7aaf32bd2b9806c692f6e0cb38a.tar.xz
linux-dev-b8e204006340b7aaf32bd2b9806c692f6e0cb38a.zip
netfilter: nft_compat: use .release_ops and remove list of extension
Add .release_ops, that is called in case of error at a later stage in the expression initialization path, ie. .select_ops() has been already set up operations and that needs to be undone. This allows us to unwind .select_ops from the error path, ie. release the dynamic operations for this extension. Moreover, allocate one single operation instead of recycling them, this comes at the cost of consuming a bit more memory per rule, but it simplifies the infrastructure. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/hsr')
0 files changed, 0 insertions, 0 deletions