Skip to content

Commit 2d53177

Browse files
committed
xfrm: Export symbol xfrm_dev_state_delete.
This fixes a build failure if xfrm_user is build as a module. Fixes: 07b87f9 ("xfrm: Fix unregister netdevice hang on hardware offload.") Reported-by: Mark Brown <[email protected]> Tested-by: Leon Romanovsky <[email protected]> Signed-off-by: Steffen Klassert <[email protected]>
1 parent 07b87f9 commit 2d53177

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/xfrm/xfrm_state.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -698,6 +698,7 @@ void xfrm_dev_state_delete(struct xfrm_state *x)
698698
spin_unlock_bh(&xfrm_state_dev_gc_lock);
699699
}
700700
}
701+
EXPORT_SYMBOL_GPL(xfrm_dev_state_delete);
701702

702703
void xfrm_dev_state_free(struct xfrm_state *x)
703704
{

0 commit comments

Comments
 (0)