Skip to content

Drop use of some obsolete functions

Phil Sutter netfilter-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Eliminate inet_aton() and inet_ntoa()extensions/libebt_among.c iptables/nft-ipv4.c+18 -110 replies
2/2nft-arp: Make use of ipv4_addr_to_string()iptables/nft-arp.c iptables/xshared.c iptables/xshared.h+14 -940 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [iptables PATCH 0/2] Drop use of some obsolete functions

A run of 'rpminspect' (a static code analyzer) complained about calls to gethostbyaddr(), inet_aton() and inet_ntoa(). Eliminating those offered the chance to drop some redundant code from nft-arp.c as well.

Phil Sutter (2):
Eliminate inet_aton() and inet_ntoa()
nft-arp: Make use of ipv4_addr_to_string()

 extensions/libebt_among.c |  6 ++-
 iptables/nft-arp.c        | 99 ++++-----------------------------------
 iptables/nft-ipv4.c       | 23 +++++----
 iptables/xshared.c        |  6 +--
 iptables/xshared.h        |  3 ++
 5 files changed, 32 insertions(+), 105 deletions(-)
Signature · 1 line
2.31.0