]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/ipv6/ip6_output.c
Merge branch 'next/cleanup3' of git://git.linaro.org/people/arnd/arm-soc
[karo-tx-linux.git] / net / ipv6 / ip6_output.c
index ff300474bee7b257cccb74153374ea138f38c6d0..84d0bd5cac939814edaed4379f09464a958d61bf 100644 (file)
@@ -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);