diff options
Diffstat (limited to 'net/ipv6/ip6_output.c')
-rw-r--r-- | net/ipv6/ip6_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c index ff300474bee7..84d0bd5cac93 100644 --- a/net/ipv6/ip6_output.c +++ b/net/ipv6/ip6_output.c | |||
@@ -1123,7 +1123,7 @@ static inline int ip6_ufo_append_data(struct sock *sk, | |||
1123 | hh_len + fragheaderlen + transhdrlen + 20, | 1123 | hh_len + fragheaderlen + transhdrlen + 20, |
1124 | (flags & MSG_DONTWAIT), &err); | 1124 | (flags & MSG_DONTWAIT), &err); |
1125 | if (skb == NULL) | 1125 | if (skb == NULL) |
1126 | return -ENOMEM; | 1126 | return err; |
1127 | 1127 | ||
1128 | /* reserve space for Hardware header */ | 1128 | /* reserve space for Hardware header */ |
1129 | skb_reserve(skb, hh_len); | 1129 | skb_reserve(skb, hh_len); |