Speed up metrics comparison
Speed up metrics comparison

Using rtnl_route_get_metric() for route comparison became a bottleneck
because each metric which was not available resulted in the generation
of an error message. This changeset avoids this by accessing rt_metrics
and rt_metrics_mask directly while comparing route objects.

UnicronNL/libnl3,vyos/libnl3,bcopeland/android_libnl,HolyShitMan/libnl-1,honsys/libnl,claudelee/libnl,mshirley/libnl,claudelee/libnl,mshirley/libnl,geekboxzone/lollipop_external_libnl,kolyshkin/libnl,gxk/libnl,thiz11/platform_external_libnl,cyclops8456/libnl3,UnicronNL/libnl3,honsys/libnl,tgraf/libnl,tklauser/libnl,greearb/libnl-ct,kolyshkin/libnl,baloo/libnl,android-ia/platform_external_libnl,dsahern/libnl,chitranshi/libnl,mshirley/libnl,houstar/libnl,greearb/libnl-ct,kolyshkin/libnl,dsahern/libnl,congwang/libnl,houstar/libnl,gxk/libnl,Omegaphora/external_libnl,cfriedt/libnl,baloo/libnl,karlhiramoto/libnl,Distrotech/libnl,congwang/libnl,teto/libnl_old,socketpair/libnl,cyclops8456/libnl3,dsahern/libnl,Omegaphora/external_libnl,claudelee/libnl,yinquan529/platform-external-libnl,claudelee/libnl,gxk/libnl,tklauser/libnl,kolyshkin/libnl,baloo/libnl,Distrotech/libnl,geekboxzone/mmallow_external_libnl,houstar/libnl,socketpair/libnl,teto/libnl_old,thom311/libnl,socketpair/libnl,baloo/libnl,tgraf/libnl,chitranshi/libnl,congwang/libnl,geekboxzone/lollipop_external_libnl,dsahern/libnl,vyos/libnl3,cfriedt/libnl,karlhiramoto/libnl,chitranshi/libnl,karlhiramoto/libnl,cyclops8456/libnl3,tgraf/libnl,UnicronNL/libnl3,HolyShitMan/libnl-1,mshirley/libnl,honsys/libnl,xin3liang/platform_external_libnl,thom311/libnl,geekboxzone/mmallow_external_libnl,tklauser/libnl,greearb/libnl-ct,honsys/libnl,vyos/libnl3,congwang/libnl,CyanogenMod/android_external_libnl,karlhiramoto/libnl,tgraf/libnl,chitranshi/libnl,teto/libnl_old,teto/libnl_old,thiz11/platform_external_libnl,android-ia/platform_external_libnl,cfriedt/libnl,HolyShitMan/libnl-1,cfriedt/libnl,vyos/libnl3,thom311/libnl,houstar/libnl,bcopeland/android_libnl,cyclops8456/libnl3,xin3liang/platform_external_libnl,Distrotech/libnl,yinquan529/platform-external-libnl,Distrotech/libnl,CyanogenMod/android_external_libnl,UnicronNL/libnl3,tklauser/libnl,HolyShitMan/libnl-1