ipv6: fix error propagation in ip6_ufo_append_data()
Subsystems (3)
PATCH 1/1 ipv6: fix error propagation in ip6_ufo_append_data()
We should return errcode from sock_alloc_send_skb()
Signed-off-by Zheng Yan <[email protected]>
---
net/ipv6/ip6_output.c +1 -1
@@ -1123,7 +1123,7 @@ static inline int ip6_ufo_append_data(struct sock *sk, hh_len + fragheaderlen + transhdrlen +20 , (flags & MSG_DONTWAIT), &err);if (skb ==NULL ) -return -ENOMEM ; +return err;/* reserve space for Hardware header */ skb_reserve (skb, hh_len);
From: "Yan, Zheng" <[email protected]>
Date: Fri, 28 Oct 2011 12:24:20 +0800
Quoted 3 lines
We should return errcode from
sock_alloc_send_skb()Signed-off-by Zheng Yan <[email protected]>
Applied, thanks!