Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9cb0d21d authored by Shannon Nelson's avatar Shannon Nelson Committed by Steffen Klassert
Browse files

xfrm: wrap xfrmdev_ops with offload config



There's no reason to define netdev->xfrmdev_ops if
the offload facility is not CONFIG'd in.

Signed-off-by: default avatarShannon Nelson <shannon.nelson@oracle.com>
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent 92a23206
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1726,7 +1726,7 @@ struct net_device {
	const struct ndisc_ops *ndisc_ops;
#endif

#ifdef CONFIG_XFRM
#ifdef CONFIG_XFRM_OFFLOAD
	const struct xfrmdev_ops *xfrmdev_ops;
#endif