Skip to content

netlink_ctx initialization fixes.

Jeremy Sowden netfilter-devel 2 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesApplied
  2. v11 patch 1 replySuperseded

Changes in v2 from the cover letter

* Eliminated batch local variable from first patch.
* Do initialization of .list and .batch into struct initializer from first patch.
* Updated commit in "Fixes:" tag in first patch.
* Added second patch.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2libnftables: got rid of repeated initialization of netlink_ctx variable in loop.src/libnftables.c+10 -131 reply
2/2rule: removed duplicate member initializer.src/rule.c+0 -11 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPhil Sutter
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH nft v2 0/2] netlink_ctx initialization fixes.

A couple of patches to tidy up initialization of a pair of netlink_ctx variables.

Since v1 (based on Phil's feedback -- thanks, Phil):

* Eliminated batch local variable from first patch.
* Do initialization of .list and .batch into struct initializer from first patch.
* Updated commit in "Fixes:" tag in first patch.
* Added second patch.

Jeremy Sowden (2):
libnftables: got rid of repeated initialization of netlink_ctx
variable in loop.
rule: removed duplicate member initializer.

 src/libnftables.c | 23 ++++++++++-------------
 src/rule.c        |  1 -
 2 files changed, 10 insertions(+), 14 deletions(-)
Signature · 1 line
2.20.1