netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* vxlan: Possible regression in vxlan_rcv()
@ 2021-11-23 17:13 Fabian Frédérick
  2021-11-24 17:14 ` Jiri Benc
  0 siblings, 1 reply; 2+ messages in thread
From: Fabian Frédérick @ 2021-11-23 17:13 UTC (permalink / raw)
  To: davem, kuba, sbrivio, jbenc; +Cc: netdev, linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-24 17:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-23 17:13 vxlan: Possible regression in vxlan_rcv() Fabian Frédérick
2021-11-24 17:14 ` Jiri Benc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).