mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Fabian Frédérick" <fabf@skynet.be>
To: davem@davemloft.net, kuba@kernel.org, sbrivio@redhat.com,
	jbenc@redhat.com
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: vxlan: Possible regression in vxlan_rcv()
Date: Tue, 23 Nov 2021 18:13:26 +0100 (CET)	[thread overview]
Message-ID: <1ad77777.15fd.17d4dc9bd96.Webtop.157@skynet.be> (raw)

Hi,

    Last year I sent the following

2ae2904b5bac
("vxlan: don't collect metadata if remote checksum is wrong")


thinking it was an optimization and noticed it was managed in that order 
before patch

f14ecebb3a4e
("vxlan: clean up extension handling on rx")


    I was not able to create some script to test that code and had no 
feedback on it but lately, looking at it again I noticed that metadata 
sequence (if (vxlan_collect_metadata(vs))) was updating skb in 
skb_dst_set(skb, (struct dst_entry *)tun_dst); which was not the case 
during the clean up above.

   Can someone tell me if the update is really ok or how I could check 
that code ?
if VXLAN_F_REMCSUM_RX involves metadata checking I can ask to remove the 
patch.

Best regards,
Fabian

             reply	other threads:[~2021-11-23 17:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-23 17:13 Fabian Frédérick [this message]
2021-11-24 17:14 ` Jiri Benc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1ad77777.15fd.17d4dc9bd96.Webtop.157@skynet.be \
    --to=fabf@skynet.be \
    --cc=davem@davemloft.net \
    --cc=jbenc@redhat.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=sbrivio@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®