gtp: reset mac_header after decap
authorGuillaume Nault <gnault@redhat.com>
Fri, 25 Jun 2021 13:33:23 +0000 (15:33 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jun 2021 19:44:17 +0000 (12:44 -0700)
commitb2d898c8a523f44ee7b3eea608e81a6e2264579f
tree5cd046d55428c9202b1a0cd4eb57d4012b6112ae
parentda5a2e49f064a86a3b102b20c545f855a7298394
gtp: reset mac_header after decap

For consistency with other L3 tunnel devices, reset the mac_header
pointer after decapsulation. This makes the mac_header 0 bytes long,
thus making it clear that this skb has no mac_header.

Compile tested only.

Signed-off-by: Guillaume Nault <gnault@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gtp.c