[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z6ISkVTHtknDTPGn@t-dallas>
Date: Tue, 4 Feb 2025 21:13:53 +0800
From: Ted Chen <znscnchen@...il.com>
To: Ido Schimmel <idosch@...sch.org>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, andrew+netdev@...n.ch, netdev@...r.kernel.org
Subject: Re: [PATCH RFC net-next 3/3] vxlan: vxlan_rcv(): Update comment to
inlucde ipv6
On Sun, Feb 02, 2025 at 02:09:23PM +0200, Ido Schimmel wrote:
> On Sat, Feb 01, 2025 at 07:34:22PM +0800, Ted Chen wrote:
> > Update the comment to indicate that both ipv4/udp.c and ipv6/udp.c invoke
>
> Nit: net/ipv4/udp.c and net/ipv6/udp.c
>
> > vxlan_rcv() to process packets.
> >
> > Signed-off-by: Ted Chen <znscnchen@...il.com>
> > ---
> > drivers/net/vxlan/vxlan_core.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/net/vxlan/vxlan_core.c b/drivers/net/vxlan/vxlan_core.c
> > index 5ef40ac816cc..8bdf91d1fdfe 100644
> > --- a/drivers/net/vxlan/vxlan_core.c
> > +++ b/drivers/net/vxlan/vxlan_core.c
> > @@ -1684,7 +1684,7 @@ static bool vxlan_ecn_decapsulate(struct vxlan_sock *vs, void *oiph,
> > return err <= 1;
> > }
> >
> > -/* Callback from net/ipv4/udp.c to receive packets */
> > +/* Callback from net/ipv{4,6}/udp.c to receive packets */
>
> Maybe just remove the comment? I don't see how anyone can find it
> useful.
I'm ok with either way.
Please let me know if I need to send a separate one or the current one
is fine.
> Regardless, please submit this patch separately as it's not related to
> the other patches in the series.
I came across this comment when I wrote this series as I found vxlan_rcv()
is called for both IPV4 and IPV6. Besides, I saw vxlan_err_lookup() has a
similar comment.
> > static int vxlan_rcv(struct sock *sk, struct sk_buff *skb)
> > {
> > struct vxlan_vni_node *vninode = NULL;
> > --
> > 2.39.2
> >
> >
Powered by blists - more mailing lists