[PATCH net 0/2] net: do not modify the shared tunnel info when PMTU triggers an ICMP reply

Antoine Tenart
2021-03-25T15:36:26Z

Hi,

The series fixes an issue were a shared ip_tunnel_info is modified when
PMTU triggers an ICMP reply in vxlan and geneve, making following
packets in that flow to have a wrong destination address if the flow
isn't updated. A detailled information is given in each of the two
commits.

This was tested manually with OVS and I ran the PTMU selftests with
kmemleak enabled (all OK, none was skipped).

Thanks!
Antoine

Antoine Tenart (2):
vxlan: do not modify the shared tunnel info when PMTU triggers an ICMP
reply
geneve: do not modify the shared tunnel info when PMTU triggers an
ICMP reply

drivers/net/geneve.c | 24 ++++++++++++++++++++----
drivers/net/vxlan.c | 18 ++++++++++++++----
2 files changed, 34 insertions(+), 8 deletions(-)

--
2.30.2