lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240822043252.3488749-1-lizetao1@huawei.com>
Date: Thu, 22 Aug 2024 12:32:42 +0800
From: Li Zetao <lizetao1@...wei.com>
To: <davem@...emloft.net>, <edumazet@...gle.com>, <kuba@...nel.org>,
	<pabeni@...hat.com>, <dsahern@...nel.org>, <idosch@...dia.com>,
	<amcohen@...dia.com>, <petrm@...dia.com>, <gnault@...hat.com>,
	<b.galvani@...il.com>, <alce@...ranque.net>, <shaozhengchao@...wei.com>,
	<horms@...nel.org>, <lizetao1@...wei.com>, <j.granados@...sung.com>,
	<linux@...ssschuh.net>, <judyhsiao@...omium.org>, <jiri@...nulli.us>
CC: <netdev@...r.kernel.org>
Subject: [PATCH net-next 00/10] net: Delete some redundant judgments

This patchset aims to remove some unnecessary judgments and make the
code more concise. In some network modules, rtnl_set_sk_err is used to
record error information, but the err is repeatedly judged to be less
than 0 on the error path. Deleted these redundant judgments.

No functional change intended.

Li Zetao (10):
  net: vxlan: delete redundant judgment statements
  fib: rules: delete redundant judgment statements
  neighbour: delete redundant judgment statements
  rtnetlink: delete redundant judgment statements
  ipv4: delete redundant judgment statements
  ipmr: delete redundant judgment statements
  net: nexthop: delete redundant judgment statements
  ip6mr: delete redundant judgment statements
  net/ipv6: delete redundant judgment statements
  net: mpls: delete redundant judgment statements

 drivers/net/vxlan/vxlan_core.c | 3 +--
 net/core/fib_rules.c           | 3 +--
 net/core/neighbour.c           | 3 +--
 net/core/rtnetlink.c           | 3 +--
 net/ipv4/devinet.c             | 6 ++----
 net/ipv4/fib_semantics.c       | 3 +--
 net/ipv4/ipmr.c                | 3 +--
 net/ipv4/nexthop.c             | 6 ++----
 net/ipv6/ip6mr.c               | 3 +--
 net/ipv6/route.c               | 6 ++----
 net/mpls/af_mpls.c             | 6 ++----
 11 files changed, 15 insertions(+), 30 deletions(-)

-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ