sk-inet: fix error handling
sk-inet: fix error handling

Currently do_dump_one_inet_fd returns ret, but this variable is
overwritten a few times and it can be zero on error paths.

Use a separate variable for the function exit code. By default it is -1
and it is set to zero at the end. It's not changed anywere anywhere
except these two places.

Signed-off-by: Andrey Vagin <74c05afa918858348d6db8037d82fa8124870113@openvz.org>
Signed-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@parallels.com>

LK4D4/criu,gonkulator/criu,ldu4/criu,tych0/criu,rentzsch/criu,ldu4/criu,efiop/criu,LK4D4/criu,gablg1/criu,AuthenticEshkinKot/criu,kawamuray/criu,gablg1/criu,gablg1/criu,marcosnils/criu,sdgdsffdsfff/criu,rentzsch/criu,eabatalov/criu,marcosnils/criu,efiop/criu,svloyso/criu,LK4D4/criu,efiop/criu,KKoukiou/criu-remote,AuthenticEshkinKot/criu,wtf42/criu,ldu4/criu,eabatalov/criu,rentzsch/criu,kawamuray/criu,tych0/criu,gonkulator/criu,rentzsch/criu,AuthenticEshkinKot/criu,biddyweb/criu,eabatalov/criu,AuthenticEshkinKot/criu,rentzsch/criu,wtf42/criu,KKoukiou/criu-remote,LK4D4/criu,ldu4/criu,biddyweb/criu,biddyweb/criu,gablg1/criu,tych0/criu,kawamuray/criu,wtf42/criu,eabatalov/criu,biddyweb/criu,fbocharov/criu,wtf42/criu,marcosnils/criu,svloyso/criu,sdgdsffdsfff/criu,tych0/criu,AuthenticEshkinKot/criu,kawamuray/criu,svloyso/criu,sdgdsffdsfff/criu,svloyso/criu,sdgdsffdsfff/criu,tych0/criu,efiop/criu,biddyweb/criu,marcosnils/criu,rentzsch/criu,KKoukiou/criu-remote,sdgdsffdsfff/criu,KKoukiou/criu-remote,marcosnils/criu,sdgdsffdsfff/criu,kawamuray/criu,wtf42/criu,LK4D4/criu,efiop/criu,AuthenticEshkinKot/criu,fbocharov/criu,efiop/criu,wtf42/criu,KKoukiou/criu-remote,gonkulator/criu,fbocharov/criu,fbocharov/criu,gablg1/criu,kawamuray/criu,LK4D4/criu,gablg1/criu,fbocharov/criu,ldu4/criu,eabatalov/criu,ldu4/criu,marcosnils/criu,gonkulator/criu,biddyweb/criu,eabatalov/criu,fbocharov/criu,gonkulator/criu,gonkulator/criu,svloyso/criu,svloyso/criu,tych0/criu,KKoukiou/criu-remote