[IPV4/6]: Fix UFO error propagation
authorPatrick McHardy <kaber@trash.net>
Mon, 13 Mar 2006 04:35:12 +0000 (20:35 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 13 Mar 2006 04:39:40 +0000 (20:39 -0800)
commitbaa829d8926f02ab04be6ec37780810d221c5b4b
tree8c2236eba68bb65aa535ab78e58777ff51de6746
parent4a1ff6e2bde56cdf176bd54d557b2e15e819f810
[IPV4/6]: Fix UFO error propagation

When ufo_append_data fails err is uninitialized, but returned back.
Strangely gcc doesn't notice it.

Coverity #901 and #902

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_output.c
net/ipv6/ip6_output.c