With support of async crypto operations in the GSO codepath we have everything in place to allow GSO for local sockets. This patch enables the GSO codepath.
Signed-off-by: Steffen Klassert <steffen.klass...@secunet.com> --- include/net/xfrm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/net/xfrm.h b/include/net/xfrm.h index 76ae5c306776..80b6a1f1290e 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h @@ -1873,6 +1873,8 @@ static inline bool xfrm_dst_offload_ok(struct dst_entry *dst) if (!x || !x->type_offload) return false; + if (!x->xso.offload_handle && !dst->child->xfrm) + return true; if (x->xso.offload_handle && (x->xso.dev == dst->path->dev) && !dst->child->xfrm) return true; -- 2.14.1