diff mbox series

[ipsec] xfrm: Export symbol xfrm_dev_state_delete.

Message ID Zn54YVkoA+OOoz+C@gauss3.secunet.de (mailing list archive)
State Awaiting Upstream
Delegated to: Netdev Maintainers
Headers show
Series [ipsec] xfrm: Export symbol xfrm_dev_state_delete. | expand

Checks

Context Check Description
netdev/tree_selection success Guessing tree name failed - patch did not apply

Commit Message

Steffen Klassert June 28, 2024, 8:46 a.m. UTC
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>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
---
 net/xfrm/xfrm_state.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Leon Romanovsky June 30, 2024, 10:43 a.m. UTC | #1
On Fri, Jun 28, 2024 at 10:46:25AM +0200, Steffen Klassert wrote:
> 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>
> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
> ---
>  net/xfrm/xfrm_state.c | 1 +
>  1 file changed, 1 insertion(+)
> 

Thanks,
Tested-by: Leon Romanovsky <leonro@nvidia.com>
Steffen Klassert July 1, 2024, 9:21 p.m. UTC | #2
On Sun, Jun 30, 2024 at 01:43:11PM +0300, Leon Romanovsky wrote:
> On Fri, Jun 28, 2024 at 10:46:25AM +0200, Steffen Klassert wrote:
> > 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>
> > Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
> > ---
> >  net/xfrm/xfrm_state.c | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> 
> Thanks,
> Tested-by: Leon Romanovsky <leonro@nvidia.com>

Now applied to the ipsec tree.
diff mbox series

Patch

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)
 {