Skip to content

Fix and simplify mnl_batch_talk()

Phil Sutter netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mnl: Initialize fd_set before select(), not aftersrc/mnl.c+3 -30 replies
2/2mnl: Simplify mnl_batch_talk()src/mnl.c+11 -150 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [nft PATCH 0/2] Fix and simplify mnl_batch_talk()

As requested, here's the mnl_batch_talk() fix extracted from previous series. To make things more clear, I've split this into a very minimal FD_SET/select reordering fix and a follow-up simplifying the code a bit.

Feel free to fold into your own series and/or dismiss second patch at your own convenience. :)

Phil Sutter (2):
mnl: Initialize fd_set before select(), not after
mnl: Simplify mnl_batch_talk()

 src/mnl.c | 26 +++++++++++---------------
 1 file changed, 11 insertions(+), 15 deletions(-)
Signature · 1 line
2.21.0