neigh: Remove check for AF_UNSPEC in rtnl_neigh_get()
neigh: Remove check for AF_UNSPEC in rtnl_neigh_get()

This check was introduces to not accidently return AF_BRIDGE objects
to unaware API users as they do differ in structure. However, such
objects are only available if explicitely requests using the
NL_CACHE_AF_ITER flag or by using arg1 == AF_BRIDGE for the cache.

Therefore remove this check and allow rtnl_neigh_get() to be used to
fetch any neighbor object of a cache.

Reported-by: Maxime Bizon <f76ce1f46e3863a1d2d6b7e849385982e002f716@freebox.fr>
Signed-off-by: Thomas Graf <17c2d8920621522552b392f72d8fdb4d1e866b44@suug.ch>

karlhiramoto/libnl,houstar/libnl,HolyShitMan/libnl-1,Distrotech/libnl,chitranshi/libnl,vyos/libnl3,thom311/libnl,tklauser/libnl,Distrotech/libnl,houstar/libnl,dsahern/libnl,teto/libnl_old,baloo/libnl,cyclops8456/libnl3,dsahern/libnl,thom311/libnl,congwang/libnl,cyclops8456/libnl3,honsys/libnl,karlhiramoto/libnl,Distrotech/libnl,chitranshi/libnl,honsys/libnl,baloo/libnl,mshirley/libnl,thom311/libnl,congwang/libnl,greearb/libnl-ct,vyos/libnl3,houstar/libnl,claudelee/libnl,UnicronNL/libnl3,cfriedt/libnl,HolyShitMan/libnl-1,karlhiramoto/libnl,chitranshi/libnl,UnicronNL/libnl3,mshirley/libnl,tklauser/libnl,kolyshkin/libnl,cyclops8456/libnl3,Distrotech/libnl,baloo/libnl,tgraf/libnl,UnicronNL/libnl3,vyos/libnl3,HolyShitMan/libnl-1,cyclops8456/libnl3,greearb/libnl-ct,kolyshkin/libnl,kolyshkin/libnl,tgraf/libnl,greearb/libnl-ct,congwang/libnl,claudelee/libnl,claudelee/libnl,UnicronNL/libnl3,teto/libnl_old,tklauser/libnl,tgraf/libnl,congwang/libnl,teto/libnl_old,mshirley/libnl,chitranshi/libnl,dsahern/libnl,tklauser/libnl,honsys/libnl,houstar/libnl,cfriedt/libnl,HolyShitMan/libnl-1,kolyshkin/libnl,tgraf/libnl,cfriedt/libnl,karlhiramoto/libnl,cfriedt/libnl,mshirley/libnl,honsys/libnl,vyos/libnl3,claudelee/libnl,teto/libnl_old,baloo/libnl,dsahern/libnl