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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 29 Nov 2021 15:23:14 +0900
From:   Benjamin Poirier <bpoirier@...dia.com>
To:     "David S. Miller" <davem@...emloft.net>,
        Jakub Kicinski <kuba@...nel.org>
CC:     Kangmin Park <l4stpr0gr4m@...il.com>,
        Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>,
        <netdev@...r.kernel.org>, Roopa Prabhu <roopa@...dia.com>,
        David Ahern <dsahern@...il.com>
Subject: [PATCH net-next 0/2] net: mpls: Cleanup nexthop iterator macros

From: Benjamin Poirier <benjamin.poirier@...il.com>

The mpls macros for_nexthops and change_nexthops were probably copied
from decnet or ipv4 but they grew a superfluous variable and lost a
beneficial "const".

Benjamin Poirier (2):
  net: mpls: Remove duplicate variable from iterator macro
  net: mpls: Make for_nexthops iterator const

 net/mpls/af_mpls.c  |  8 ++++----
 net/mpls/internal.h | 13 ++++++-------
 2 files changed, 10 insertions(+), 11 deletions(-)

-- 
2.33.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ