rm legacy netlink code