[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89iKKP8Gs475umtj4qoxTe8V2q9V42HC2kEa8PmEu16Y0zA@mail.gmail.com>
Date: Fri, 7 Feb 2025 09:28:15 +0100
From: Eric Dumazet <edumazet@...gle.com>
To: Kuniyuki Iwashima <kuniyu@...zon.com>
Cc: "David S. Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, Simon Horman <horms@...nel.org>, Ido Schimmel <idosch@...sch.org>,
Kuniyuki Iwashima <kuni1840@...il.com>, netdev@...r.kernel.org
Subject: Re: [PATCH v2 net-next 2/8] net: fib_rules: Pass net to fib_nl2rule()
instead of skb.
On Fri, Feb 7, 2025 at 8:26 AM Kuniyuki Iwashima <kuniyu@...zon.com> wrote:
>
> skb is not used in fib_nl2rule() other than sock_net(skb->sk),
> which is already available in callers, fib_nl_newrule() and
> fib_nl_delrule().
>
> Let's pass net directly to fib_nl2rule().
>
> Signed-off-by: Kuniyuki Iwashima <kuniyu@...zon.com>
Reviewed-by: Eric Dumazet <edumazet@...gle.com>
Powered by blists - more mailing lists