]> 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)
commit851698f8804236dc5e0694b47189ebc2b9865409
treec1a8833c15b5c3b27177a2e5b63202952dd07e49
parent74f40718f6389566c30405e80c7e8abcbb8f5b12
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