net: Drop @ri test but use known ARRA_SIZE
net: Drop @ri test but use known ARRA_SIZE

We might miss entry in "ri ? ri - 1" expression when ri = 1.
Lets use known array size instead.

For some reason it didn't trigger on my tests earlier.

Reported-by: Andrew Vagin <74c05afa918858348d6db8037d82fa8124870113@odin.com>
Signed-off-by: Cyrill Gorcunov <7a1ea01eee6961eb1e372e3508c2670446d086f4@openvz.org>
Acked-by: Andrew Vagin <74c05afa918858348d6db8037d82fa8124870113@odin.com>
Signed-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@parallels.com>

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