We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec3bb89 commit 7770a39Copy full SHA for 7770a39
net/xfrm/xfrm_user.c
@@ -3058,7 +3058,7 @@ static inline unsigned int xfrm_sa_len(struct xfrm_state *x)
3058
if (x->props.extra_flags)
3059
l += nla_total_size(sizeof(x->props.extra_flags));
3060
if (x->xso.dev)
3061
- l += nla_total_size(sizeof(x->xso));
+ l += nla_total_size(sizeof(struct xfrm_user_offload));
3062
if (x->props.smark.v | x->props.smark.m) {
3063
l += nla_total_size(sizeof(x->props.smark.v));
3064
l += nla_total_size(sizeof(x->props.smark.m));
0 commit comments