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 |
Context | Check | Description |
---|---|---|
netdev/tree_selection | success | Guessing tree name failed - patch did not apply |
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>
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 --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) {
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(+)