net: ib_net pointer should depends on CONFIG_NET_NS