Loading net/xfrm/xfrm_user.c +2 −2 Original line number Diff line number Diff line Loading @@ -1123,9 +1123,9 @@ static int build_expire(struct sk_buff *skb, struct xfrm_state *x, int hard) static int xfrm_exp_state_notify(struct xfrm_state *x, struct km_event *c) { struct sk_buff *skb; int len = NLMSG_LENGTH(sizeof(struct xfrm_user_expire)); /* fix to do alloc using NLM macros */ skb = alloc_skb(sizeof(struct xfrm_user_expire) + 16, GFP_ATOMIC); skb = alloc_skb(len, GFP_ATOMIC); if (skb == NULL) return -ENOMEM; Loading Loading
net/xfrm/xfrm_user.c +2 −2 Original line number Diff line number Diff line Loading @@ -1123,9 +1123,9 @@ static int build_expire(struct sk_buff *skb, struct xfrm_state *x, int hard) static int xfrm_exp_state_notify(struct xfrm_state *x, struct km_event *c) { struct sk_buff *skb; int len = NLMSG_LENGTH(sizeof(struct xfrm_user_expire)); /* fix to do alloc using NLM macros */ skb = alloc_skb(sizeof(struct xfrm_user_expire) + 16, GFP_ATOMIC); skb = alloc_skb(len, GFP_ATOMIC); if (skb == NULL) return -ENOMEM; Loading