]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit28d2604e455affd967573ba0695b5ba8b85f1604
tree8c2236eba68bb65aa535ab78e58777ff51de6746
parentbd91c2c4c8107b18e87e0c155229bbdf2469bb6e
[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