net/ifc: add devargs pointer check