mbox series

[v2,ipsec-next,0/3] xfrm: offload api fixes

Message ID 1513285277-21092-1-git-send-email-shannon.nelson@oracle.com
Headers show
Series xfrm: offload api fixes | expand

Message

Shannon Nelson Dec. 14, 2017, 9:01 p.m. UTC
These are a couple of little fixes to the xfrm_offload API to make
life just a little easier for the poor driver developer.

Changes from v1:
 - removed netdev_err() notes  (Steffen)
 - fixed build when CONFIG_XFRM_OFFLOAD is off (kbuild robot)
 - split into multiple patches (me)


Shannon Nelson (3):
  xfrm: check for xdo_dev_state_free
  xfrm: check for xdo_dev_ops add and delete
  xfrm: wrap xfrmdev_ops with offload config

 include/linux/netdevice.h |  2 +-
 include/net/xfrm.h        |  3 ++-
 net/xfrm/xfrm_device.c    | 16 ++++++++++++----
 3 files changed, 15 insertions(+), 6 deletions(-)