]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
xfrm: avoid compiler warning when ipv6 is disabled
authorFlorian Westphal <fw@strlen.de>
Tue, 15 Jun 2021 14:27:20 +0000 (16:27 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Wed, 16 Jun 2021 06:32:14 +0000 (08:32 +0200)
commit30ad6a84f60bdaa32ef5091125299d0d96a330fe
treeeaee6c657f8d37976076a3f935e105c13e6a8753
parent1b50dd478f495c2112d1dd5655b2317d53a0723b
xfrm: avoid compiler warning when ipv6 is disabled

with CONFIG_IPV6=n:
xfrm_output.c:140:12: warning: 'xfrm6_hdr_offset' defined but not used

Fixes: 9acf4d3b9ec1 ("xfrm: ipv6: add xfrm6_hdr_offset helper")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_output.c