mbox series

[net-next,0/2] net: mpls: Cleanup nexthop iterator macros

Message ID 20211129062316.221653-1-bpoirier@nvidia.com (mailing list archive)
Headers show
Series net: mpls: Cleanup nexthop iterator macros | expand

Message

Benjamin Poirier Nov. 29, 2021, 6:23 a.m. UTC
From: Benjamin Poirier <benjamin.poirier@gmail.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(-)

Comments

patchwork-bot+netdevbpf@kernel.org Nov. 29, 2021, 12:50 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:

On Mon, 29 Nov 2021 15:23:14 +0900 you wrote:
> From: Benjamin Poirier <benjamin.poirier@gmail.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
> 
> [...]

Here is the summary with links:
  - [net-next,1/2] net: mpls: Remove duplicate variable from iterator macro
    https://git.kernel.org/netdev/net-next/c/69d9c0d07726
  - [net-next,2/2] net: mpls: Make for_nexthops iterator const
    https://git.kernel.org/netdev/net-next/c/f05b0b97335b

You are awesome, thank you!