summaryrefslogtreecommitdiff
path: root/net/xfrm
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2024-06-28 10:46:25 +0200
committerSteffen Klassert <steffen.klassert@secunet.com>2024-07-01 12:40:21 +0200
commit2d5317753e5f02a66e6d0afb9b25105d0beab1be (patch)
tree3d66128ea6590d864a07e3e19ab04b530660cb9b /net/xfrm
parent07b87f9eea0c30675084d50c82532d20168da009 (diff)
downloadlwn-2d5317753e5f02a66e6d0afb9b25105d0beab1be.tar.gz
lwn-2d5317753e5f02a66e6d0afb9b25105d0beab1be.zip
xfrm: Export symbol xfrm_dev_state_delete.
This fixes a build failure if xfrm_user is build as a module. Fixes: 07b87f9eea0c ("xfrm: Fix unregister netdevice hang on hardware offload.") Reported-by: Mark Brown <broonie@kernel.org> Tested-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/xfrm')
-rw-r--r--net/xfrm/xfrm_state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c
index d531d2a1fae2..936f9348e5f6 100644
--- a/net/xfrm/xfrm_state.c
+++ b/net/xfrm/xfrm_state.c
@@ -698,6 +698,7 @@ void xfrm_dev_state_delete(struct xfrm_state *x)
spin_unlock_bh(&xfrm_state_dev_gc_lock);
}
}
+EXPORT_SYMBOL_GPL(xfrm_dev_state_delete);
void xfrm_dev_state_free(struct xfrm_state *x)
{