]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit45fa1e5b627b271f4bdadea5f7be5f9081f2e0a8
treec1a8833c15b5c3b27177a2e5b63202952dd07e49
parent0876996fac81511633bff5a0fced6a4a30f8dca4
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