]> Git Repo - linux.git/commit
ip6_gre: Avoid updating tunnel->tun_hlen in __gre6_xmit()
authorPeilin Ye <[email protected]>
Thu, 14 Apr 2022 20:34:26 +0000 (13:34 -0700)
committerDavid S. Miller <[email protected]>
Fri, 15 Apr 2022 10:48:34 +0000 (11:48 +0100)
commitf40c064e933d7787ca7411b699504d7a2664c1f5
treea38c4233eb4010209d7a1d73b2eae26cc65dc3fe
parent226c60243593443bb5d315b3fc2116b72be858fe
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 <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Signed-off-by: Peilin Ye <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/ipv6/ip6_gre.c
This page took 0.056043 seconds and 4 git commands to generate.