OSDN Git Service

xfrm: wrap xfrmdev_ops with offload config
authorShannon Nelson <shannon.nelson@oracle.com>
Tue, 19 Dec 2017 23:35:49 +0000 (15:35 -0800)
committerSteffen Klassert <steffen.klassert@secunet.com>
Thu, 21 Dec 2017 07:17:48 +0000 (08:17 +0100)
commit9cb0d21d01b974761735a7f5345d632f967e625a
treec1a8833c15b5c3b27177a2e5b63202952dd07e49
parent92a2320697f7f07f4ee988077820965a0fbd11d0
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: Shannon Nelson <shannon.nelson@oracle.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
include/linux/netdevice.h