netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH nft 0/6] rework dependency removal (v2)
@ 2018-02-14 15:22 Pablo Neira Ayuso
  2018-02-14 15:22 ` [PATCH nft 1/6] src: pass family to payload_dependency_kill() Pablo Neira Ayuso
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Pablo Neira Ayuso @ 2018-02-14 15:22 UTC (permalink / raw)
  To: netfilter-devel

Hi,

This patchset aims to address what Florian reported time ago [1]. This
is skipping removal of protocol key payload expressions at network base
for the netdev, bridge and inet.

It would better to annotate all redundant expressions and add a later
stage, where we can do smarter simplifications by looking globally at
what we have, instead of just looking at current protocol key expression
and last one that we have annotated in the context structure to perform
removals. But I would prefer to have a fix now upstream then look at
this larger rework later on since it would require to review a bit of
the postprocess code.

The initial 4 patches in this batch are just cleanup/preparation patches
for patches 5/6 and 6/6.

There is still a few warning in the tests/py/ infrastructure, some of
them I think need to be fixed, and at least one can remain there to
remind us that we can do better.

Let me know if you have any concern with this.

Thanks.

[1] https://www.spinics.net/lists/netfilter-devel/msg50078.html

Pablo Neira Ayuso (6):
  src: pass family to payload_dependency_kill()
  payload: add payload_dependency_release() helper function
  src: add payload_dependency_exists()
  src: get rid of __payload_dependency_kill()
  payload: add payload_may_dependency_kill()
  netlink_delinearize: add meta_may_dependency_kill()

 include/payload.h         |   7 +--
 src/netlink.c             |   2 +-
 src/netlink_delinearize.c | 106 +++++++++++++++++++++++++++++++++++++++++-----
 src/payload.c             |  85 ++++++++++++++++++++++++++++---------
 4 files changed, 165 insertions(+), 35 deletions(-)

-- 
2.11.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-02-15 15:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-14 15:22 [PATCH nft 0/6] rework dependency removal (v2) Pablo Neira Ayuso
2018-02-14 15:22 ` [PATCH nft 1/6] src: pass family to payload_dependency_kill() Pablo Neira Ayuso
2018-02-14 15:22 ` [PATCH nft 2/6] payload: add payload_dependency_release() helper function Pablo Neira Ayuso
2018-02-14 15:22 ` [PATCH nft 3/6] src: add payload_dependency_exists() Pablo Neira Ayuso
2018-02-14 15:22 ` [PATCH nft 4/6] src: get rid of __payload_dependency_kill() Pablo Neira Ayuso
2018-02-14 15:22 ` [PATCH nft 5/6] payload: add payload_may_dependency_kill() Pablo Neira Ayuso
2018-02-14 15:22 ` [PATCH nft 6/6] netlink_delinearize: add meta_may_dependency_kill() Pablo Neira Ayuso
2018-02-15 15:31 ` [PATCH nft 0/6] rework dependency removal (v2) Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).