[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220713124930.6d58af50@kernel.org>
Date: Wed, 13 Jul 2022 12:49:30 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Tony Nguyen <anthony.l.nguyen@...el.com>
Cc: davem@...emloft.net, pabeni@...hat.com, edumazet@...gle.com,
Alan Brady <alan.brady@...el.com>, netdev@...r.kernel.org,
yoshfuji@...ux-ipv6.org, dsahern@...nel.org,
Gurucharan <gurucharanx.g@...el.com>
Subject: Re: [PATCH net-next 1/1] ping: fix ipv6 ping socket flow labels
On Tue, 12 Jul 2022 09:56:08 -0700 Tony Nguyen wrote:
> From: Alan Brady <alan.brady@...el.com>
>
> Ping sockets don't appear to make any attempt to preserve flow labels
> created and set by userspace. Instead they are always clobbered by
> autolabels (if enabled) or zero.
>
> This grabs the flowlabel out of the msghdr similar to how rawv6_sendmsg
> does it and moves the memset up so we don't zero it.
>
> Signed-off-by: Alan Brady <alan.brady@...el.com>
> Tested-by: Gurucharan <gurucharanx.g@...el.com> (A Contingent worker at Intel)
> Signed-off-by: Tony Nguyen <anthony.l.nguyen@...el.com>
Thanks! Please add a selftest and s/fix/support/ in the subject
otherwise the stable ML bot will think this is a fix, and its more
of a missing feature.
Powered by blists - more mailing lists