[PATCH v7 1/3] batman-adv: netlink: reduce duplicate code by returning interfaces