commit | f40c064e933d7787ca7411b699504d7a2664c1f5 | [log] [tgz] |
---|---|---|
author | Peilin Ye <peilin.ye@bytedance.com> | Thu Apr 14 13:34:26 2022 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Apr 15 11:48:34 2022 +0100 |
tree | a38c4233eb4010209d7a1d73b2eae26cc65dc3fe | |
parent | 226c60243593443bb5d315b3fc2116b72be858fe [diff] |
ip6_gre: Avoid updating tunnel->tun_hlen in __gre6_xmit() Do not update tunnel->tun_hlen in data plane code. Use a local variable instead, just like "tunnel_hlen" in net/ipv4/ip_gre.c:gre_fb_xmit(). Co-developed-by: Cong Wang <cong.wang@bytedance.com> Signed-off-by: Cong Wang <cong.wang@bytedance.com> Signed-off-by: Peilin Ye <peilin.ye@bytedance.com> Signed-off-by: David S. Miller <davem@davemloft.net>