Vadim Yanitskiy | 76ef72d | 2018-11-07 05:08:18 +0700 | [diff] [blame] | 1 | /* |
| 2 | * (C) 2018 by Vadim Yanitskiy <axilirator@gmail.com> |
| 3 | * |
| 4 | * All Rights Reserved |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU Affero General Public License as published by |
| 8 | * the Free Software Foundation; either version 3 of the License, or |
| 9 | * (at your option) any later version. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU Affero General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU Affero General Public License |
| 17 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 18 | * |
| 19 | */ |
| 20 | |
| 21 | #include <stdio.h> |
| 22 | #include <errno.h> |
| 23 | |
| 24 | #include <osmocom/core/linuxlist.h> |
| 25 | #include <osmocom/core/utils.h> |
| 26 | #include <osmocom/core/msgb.h> |
| 27 | |
| 28 | #include <osmocom/gsupclient/gsup_client.h> |
| 29 | #include <osmocom/msc/gsm_subscriber.h> |
| 30 | #include <osmocom/msc/transaction.h> |
| 31 | #include <osmocom/msc/msc_common.h> |
| 32 | #include <osmocom/msc/debug.h> |
| 33 | #include <osmocom/msc/vlr.h> |
Neels Hofmeyr | c4628a3 | 2018-12-07 14:47:34 +0100 | [diff] [blame] | 34 | #include <osmocom/msc/msub.h> |
| 35 | #include <osmocom/msc/gsup_client_mux.h> |
Vadim Yanitskiy | 76ef72d | 2018-11-07 05:08:18 +0700 | [diff] [blame] | 36 | |
| 37 | /* Common helper for preparing to be encoded GSUP message */ |
| 38 | static void gsup_sm_msg_init(struct osmo_gsup_message *gsup_msg, |
| 39 | enum osmo_gsup_message_type msg_type, const char *imsi, |
| 40 | uint8_t *sm_rp_mr) |
| 41 | { |
| 42 | /* Init a mew GSUP message */ |
Neels Hofmeyr | c4628a3 | 2018-12-07 14:47:34 +0100 | [diff] [blame] | 43 | *gsup_msg = (struct osmo_gsup_message){ |
| 44 | .message_type = msg_type, |
| 45 | .sm_rp_mr = sm_rp_mr, |
| 46 | .message_class = OSMO_GSUP_MESSAGE_CLASS_SMS, |
| 47 | }; |
Vadim Yanitskiy | 76ef72d | 2018-11-07 05:08:18 +0700 | [diff] [blame] | 48 | |
| 49 | /* Fill in subscriber's IMSI */ |
| 50 | OSMO_STRLCPY_ARRAY(gsup_msg->imsi, imsi); |
| 51 | } |
| 52 | |
| 53 | int gsm411_gsup_mo_fwd_sm_req(struct gsm_trans *trans, struct msgb *msg, |
| 54 | uint8_t sm_rp_mr, uint8_t *sm_rp_da, uint8_t sm_rp_da_len) |
| 55 | { |
| 56 | uint8_t bcd_buf[GSM48_MI_SIZE] = { 0 }; |
| 57 | struct osmo_gsup_message gsup_msg; |
| 58 | size_t bcd_len; |
| 59 | |
| 60 | /* Associate logging messages with this subscriber */ |
| 61 | log_set_context(LOG_CTX_VLR_SUBSCR, trans->vsub); |
| 62 | |
Neels Hofmeyr | ff7074a | 2019-02-28 05:50:06 +0100 | [diff] [blame] | 63 | LOG_TRANS(trans, LOGL_DEBUG, "TX GSUP MO-forwardSM-Req\n"); |
Vadim Yanitskiy | 76ef72d | 2018-11-07 05:08:18 +0700 | [diff] [blame] | 64 | |
| 65 | /* Assign SM-RP-MR to transaction state */ |
| 66 | trans->sms.sm_rp_mr = sm_rp_mr; |
| 67 | |
| 68 | /* Encode subscriber's MSISDN */ |
| 69 | bcd_len = gsm48_encode_bcd_number(bcd_buf, sizeof(bcd_buf), |
| 70 | 0, trans->vsub->msisdn); |
| 71 | if (bcd_len <= 0 || bcd_len > sizeof(bcd_buf)) { |
Neels Hofmeyr | ff7074a | 2019-02-28 05:50:06 +0100 | [diff] [blame] | 72 | LOG_TRANS(trans, LOGL_ERROR, "Failed to encode subscriber's MSISDN\n"); |
Vadim Yanitskiy | 76ef72d | 2018-11-07 05:08:18 +0700 | [diff] [blame] | 73 | return -EINVAL; |
| 74 | } |
| 75 | |
| 76 | /* Initialize a new GSUP message */ |
| 77 | gsup_sm_msg_init(&gsup_msg, OSMO_GSUP_MSGT_MO_FORWARD_SM_REQUEST, |
| 78 | trans->vsub->imsi, &sm_rp_mr); |
| 79 | |
| 80 | /* According to 12.2.3, the MSISDN from VLR is inserted here */ |
| 81 | gsup_msg.sm_rp_oa_type = OSMO_GSUP_SMS_SM_RP_ODA_MSISDN; |
| 82 | gsup_msg.sm_rp_oa_len = bcd_len; |
| 83 | gsup_msg.sm_rp_oa = bcd_buf; |
| 84 | |
| 85 | /* SM-RP-DA should (already) contain SMSC address */ |
| 86 | gsup_msg.sm_rp_da_type = OSMO_GSUP_SMS_SM_RP_ODA_SMSC_ADDR; |
| 87 | gsup_msg.sm_rp_da_len = sm_rp_da_len; |
| 88 | gsup_msg.sm_rp_da = sm_rp_da; |
| 89 | |
| 90 | /* SM-RP-UI (TPDU) is pointed by msgb->l4h */ |
| 91 | gsup_msg.sm_rp_ui_len = msgb_l4len(msg); |
| 92 | gsup_msg.sm_rp_ui = (uint8_t *) msgb_sms(msg); |
| 93 | |
Neels Hofmeyr | c4628a3 | 2018-12-07 14:47:34 +0100 | [diff] [blame] | 94 | return gsup_client_mux_tx(trans->net->gcm, &gsup_msg); |
Vadim Yanitskiy | 76ef72d | 2018-11-07 05:08:18 +0700 | [diff] [blame] | 95 | } |
| 96 | |
| 97 | int gsm411_gsup_mo_ready_for_sm_req(struct gsm_trans *trans, uint8_t sm_rp_mr) |
| 98 | { |
| 99 | struct osmo_gsup_message gsup_msg; |
| 100 | |
| 101 | /* Associate logging messages with this subscriber */ |
| 102 | log_set_context(LOG_CTX_VLR_SUBSCR, trans->vsub); |
| 103 | |
Neels Hofmeyr | ff7074a | 2019-02-28 05:50:06 +0100 | [diff] [blame] | 104 | LOG_TRANS(trans, LOGL_DEBUG, "TX GSUP READY-FOR-SM Req\n"); |
Vadim Yanitskiy | 76ef72d | 2018-11-07 05:08:18 +0700 | [diff] [blame] | 105 | |
| 106 | /* Assign SM-RP-MR to transaction state */ |
| 107 | trans->sms.sm_rp_mr = sm_rp_mr; |
| 108 | |
| 109 | /* Initialize a new GSUP message */ |
| 110 | gsup_sm_msg_init(&gsup_msg, OSMO_GSUP_MSGT_READY_FOR_SM_REQUEST, |
| 111 | trans->vsub->imsi, &sm_rp_mr); |
| 112 | |
| 113 | /* Indicate SMMA as the Alert Reason */ |
| 114 | gsup_msg.sm_alert_rsn = OSMO_GSUP_SMS_SM_ALERT_RSN_MEM_AVAIL; |
| 115 | |
Neels Hofmeyr | c4628a3 | 2018-12-07 14:47:34 +0100 | [diff] [blame] | 116 | return gsup_client_mux_tx(trans->net->gcm, &gsup_msg); |
Vadim Yanitskiy | 76ef72d | 2018-11-07 05:08:18 +0700 | [diff] [blame] | 117 | } |
| 118 | |
| 119 | /* Triggers either RP-ACK or RP-ERROR on response from SMSC */ |
Vadim Yanitskiy | 805eca2 | 2019-06-15 17:30:23 +0700 | [diff] [blame] | 120 | static int gsm411_gsup_mo_handler(struct gsm_network *net, struct vlr_subscr *vsub, |
| 121 | const struct osmo_gsup_message *gsup_msg) |
Vadim Yanitskiy | 76ef72d | 2018-11-07 05:08:18 +0700 | [diff] [blame] | 122 | { |
Vadim Yanitskiy | 76ef72d | 2018-11-07 05:08:18 +0700 | [diff] [blame] | 123 | struct gsm_trans *trans; |
Vadim Yanitskiy | 76ef72d | 2018-11-07 05:08:18 +0700 | [diff] [blame] | 124 | const char *msg_name; |
| 125 | bool msg_is_err; |
| 126 | |
Vadim Yanitskiy | 76ef72d | 2018-11-07 05:08:18 +0700 | [diff] [blame] | 127 | /* Associate logging messages with this subscriber */ |
| 128 | log_set_context(LOG_CTX_VLR_SUBSCR, vsub); |
| 129 | |
| 130 | /* Determine the message type and name */ |
| 131 | msg_is_err = OSMO_GSUP_IS_MSGT_ERROR(gsup_msg->message_type); |
| 132 | switch (gsup_msg->message_type) { |
| 133 | case OSMO_GSUP_MSGT_MO_FORWARD_SM_ERROR: |
| 134 | case OSMO_GSUP_MSGT_MO_FORWARD_SM_RESULT: |
| 135 | msg_name = "MO-forwardSM"; |
| 136 | break; |
| 137 | case OSMO_GSUP_MSGT_READY_FOR_SM_ERROR: |
| 138 | case OSMO_GSUP_MSGT_READY_FOR_SM_RESULT: |
| 139 | msg_name = "MO-ReadyForSM"; |
| 140 | break; |
| 141 | default: |
| 142 | /* Shall not happen */ |
| 143 | OSMO_ASSERT(0); |
| 144 | } |
| 145 | |
Vadim Yanitskiy | 76ef72d | 2018-11-07 05:08:18 +0700 | [diff] [blame] | 146 | /* Make sure that 'SMS over GSUP' is expected */ |
| 147 | if (!net->sms_over_gsup) { |
| 148 | /* TODO: notify sender about that? */ |
| 149 | LOGP(DLSMS, LOGL_NOTICE, "Unexpected MO SMS over GSUP, " |
| 150 | "ignoring message...\n"); |
| 151 | return -EIO; |
| 152 | } |
| 153 | |
| 154 | /* Verify GSUP message */ |
| 155 | if (!gsup_msg->sm_rp_mr) |
| 156 | goto msg_error; |
| 157 | if (msg_is_err && !gsup_msg->sm_rp_cause) |
| 158 | goto msg_error; |
| 159 | |
Vadim Yanitskiy | 76ef72d | 2018-11-07 05:08:18 +0700 | [diff] [blame] | 160 | /* Attempt to find DTAP-transaction */ |
Vadim Yanitskiy | 36c44b2 | 2019-01-23 21:22:27 +0700 | [diff] [blame] | 161 | trans = trans_find_by_sm_rp_mr(net, vsub, *(gsup_msg->sm_rp_mr)); |
Vadim Yanitskiy | 76ef72d | 2018-11-07 05:08:18 +0700 | [diff] [blame] | 162 | if (!trans) { |
| 163 | LOGP(DLSMS, LOGL_NOTICE, "No transaction found for %s, " |
| 164 | "ignoring %s-%s message...\n", vlr_subscr_name(vsub), |
| 165 | msg_name, msg_is_err ? "Err" : "Res"); |
| 166 | return -EIO; /* TODO: notify sender about that? */ |
| 167 | } |
| 168 | |
Neels Hofmeyr | ff7074a | 2019-02-28 05:50:06 +0100 | [diff] [blame] | 169 | LOG_TRANS(trans, LOGL_DEBUG, "RX %s-%s\n", msg_name, msg_is_err ? "Err" : "Res"); |
| 170 | |
Vadim Yanitskiy | 76ef72d | 2018-11-07 05:08:18 +0700 | [diff] [blame] | 171 | /* Send either RP-ERROR, or RP-ACK */ |
| 172 | if (msg_is_err) { |
| 173 | /* TODO: handle optional SM-RP-UI payload (requires API change) */ |
| 174 | gsm411_send_rp_error(trans, *(gsup_msg->sm_rp_mr), |
| 175 | *(gsup_msg->sm_rp_cause)); |
| 176 | } else { |
| 177 | gsm411_send_rp_ack(trans, *(gsup_msg->sm_rp_mr)); |
| 178 | } |
| 179 | |
| 180 | return 0; |
| 181 | |
| 182 | msg_error: |
| 183 | /* TODO: notify sender about that? */ |
| 184 | LOGP(DLSMS, LOGL_NOTICE, "RX malformed %s-%s\n", |
| 185 | msg_name, msg_is_err ? "Err" : "Res"); |
| 186 | return -EINVAL; |
| 187 | } |
Vadim Yanitskiy | 82cc8a5 | 2018-11-15 01:05:53 +0700 | [diff] [blame] | 188 | |
| 189 | int gsm411_gsup_mt_fwd_sm_res(struct gsm_trans *trans, uint8_t sm_rp_mr) |
| 190 | { |
| 191 | struct osmo_gsup_message gsup_msg; |
| 192 | |
| 193 | /* Associate logging messages with this subscriber */ |
| 194 | log_set_context(LOG_CTX_VLR_SUBSCR, trans->vsub); |
| 195 | |
Neels Hofmeyr | ff7074a | 2019-02-28 05:50:06 +0100 | [diff] [blame] | 196 | LOG_TRANS(trans, LOGL_DEBUG, "TX MT-forwardSM-Res\n"); |
Vadim Yanitskiy | 82cc8a5 | 2018-11-15 01:05:53 +0700 | [diff] [blame] | 197 | |
| 198 | /* Initialize a new GSUP message */ |
| 199 | gsup_sm_msg_init(&gsup_msg, OSMO_GSUP_MSGT_MT_FORWARD_SM_RESULT, |
| 200 | trans->vsub->imsi, &sm_rp_mr); |
| 201 | |
Neels Hofmeyr | c4628a3 | 2018-12-07 14:47:34 +0100 | [diff] [blame] | 202 | return gsup_client_mux_tx(trans->net->gcm, &gsup_msg); |
Vadim Yanitskiy | 82cc8a5 | 2018-11-15 01:05:53 +0700 | [diff] [blame] | 203 | } |
| 204 | |
| 205 | int gsm411_gsup_mt_fwd_sm_err(struct gsm_trans *trans, |
| 206 | uint8_t sm_rp_mr, uint8_t cause) |
| 207 | { |
| 208 | struct osmo_gsup_message gsup_msg; |
| 209 | |
| 210 | /* Associate logging messages with this subscriber */ |
| 211 | log_set_context(LOG_CTX_VLR_SUBSCR, trans->vsub); |
| 212 | |
Neels Hofmeyr | ff7074a | 2019-02-28 05:50:06 +0100 | [diff] [blame] | 213 | LOG_TRANS(trans, LOGL_DEBUG, "TX MT-forwardSM-Err\n"); |
Vadim Yanitskiy | 82cc8a5 | 2018-11-15 01:05:53 +0700 | [diff] [blame] | 214 | |
| 215 | /* Initialize a new GSUP message */ |
| 216 | gsup_sm_msg_init(&gsup_msg, OSMO_GSUP_MSGT_MT_FORWARD_SM_ERROR, |
| 217 | trans->vsub->imsi, &sm_rp_mr); |
| 218 | |
| 219 | /* SM-RP-Cause value */ |
| 220 | gsup_msg.sm_rp_cause = &cause; |
| 221 | |
| 222 | /* TODO: include optional SM-RP-UI field if present */ |
Neels Hofmeyr | c4628a3 | 2018-12-07 14:47:34 +0100 | [diff] [blame] | 223 | return gsup_client_mux_tx(trans->net->gcm, &gsup_msg); |
Vadim Yanitskiy | 82cc8a5 | 2018-11-15 01:05:53 +0700 | [diff] [blame] | 224 | } |
| 225 | |
| 226 | /* Handles MT SMS (and triggers Paging Request if required) */ |
Vadim Yanitskiy | 805eca2 | 2019-06-15 17:30:23 +0700 | [diff] [blame] | 227 | static int gsm411_gsup_mt_handler(struct gsm_network *net, struct vlr_subscr *vsub, |
| 228 | const struct osmo_gsup_message *gsup_msg) |
Vadim Yanitskiy | 82cc8a5 | 2018-11-15 01:05:53 +0700 | [diff] [blame] | 229 | { |
Vadim Yanitskiy | 643270f | 2019-05-12 05:38:41 +0700 | [diff] [blame] | 230 | bool sm_rp_mmts_ind; |
Vadim Yanitskiy | 82cc8a5 | 2018-11-15 01:05:53 +0700 | [diff] [blame] | 231 | int rc; |
| 232 | |
Vadim Yanitskiy | 82cc8a5 | 2018-11-15 01:05:53 +0700 | [diff] [blame] | 233 | /* Associate logging messages with this subscriber */ |
| 234 | log_set_context(LOG_CTX_VLR_SUBSCR, vsub); |
| 235 | |
| 236 | LOGP(DLSMS, LOGL_DEBUG, "RX MT-forwardSM-Req\n"); |
| 237 | |
| 238 | /* Make sure that 'SMS over GSUP' is expected */ |
| 239 | if (!net->sms_over_gsup) { |
| 240 | LOGP(DLSMS, LOGL_NOTICE, "Unexpected MT SMS over GSUP, " |
| 241 | "ignoring message...\n"); |
| 242 | /* TODO: notify sender about that? */ |
| 243 | return -EIO; |
| 244 | } |
| 245 | |
| 246 | /** |
| 247 | * Verify GSUP message |
| 248 | * |
| 249 | * FIXME: SM-RP-MR is not known yet (to be assigned by MSC) |
| 250 | * NOTE: SM-RP-DA is out of our interest |
| 251 | */ |
| 252 | if (!gsup_msg->sm_rp_mr) |
| 253 | goto msg_error; |
| 254 | if (!gsup_msg->sm_rp_ui) |
| 255 | goto msg_error; |
| 256 | |
| 257 | /* SM-RP-OA shall contain SMSC address */ |
| 258 | if (gsup_msg->sm_rp_oa_type != OSMO_GSUP_SMS_SM_RP_ODA_SMSC_ADDR) |
| 259 | goto msg_error; |
| 260 | |
Vadim Yanitskiy | 643270f | 2019-05-12 05:38:41 +0700 | [diff] [blame] | 261 | /* MMS (More Messages to Send) IE is optional */ |
| 262 | if (gsup_msg->sm_rp_mms) |
| 263 | sm_rp_mmts_ind = *gsup_msg->sm_rp_mms > 0; |
| 264 | else |
| 265 | sm_rp_mmts_ind = false; |
| 266 | |
Vadim Yanitskiy | 82cc8a5 | 2018-11-15 01:05:53 +0700 | [diff] [blame] | 267 | /* Send RP-DATA */ |
| 268 | rc = gsm411_send_rp_data(net, vsub, |
| 269 | gsup_msg->sm_rp_oa_len, gsup_msg->sm_rp_oa, |
Vadim Yanitskiy | 643270f | 2019-05-12 05:38:41 +0700 | [diff] [blame] | 270 | gsup_msg->sm_rp_ui_len, gsup_msg->sm_rp_ui, |
| 271 | sm_rp_mmts_ind); |
Vadim Yanitskiy | 82cc8a5 | 2018-11-15 01:05:53 +0700 | [diff] [blame] | 272 | if (rc) { |
| 273 | LOGP(DLSMS, LOGL_NOTICE, "Failed to send MT SMS, " |
| 274 | "ignoring MT-forwardSM-Req message...\n"); |
| 275 | /* TODO: notify sender about that? */ |
| 276 | return rc; |
| 277 | } |
| 278 | |
| 279 | return 0; |
| 280 | |
| 281 | msg_error: |
| 282 | /* TODO: notify sender about that? */ |
| 283 | LOGP(DLSMS, LOGL_NOTICE, "RX malformed MT-forwardSM-Req\n"); |
| 284 | return -EINVAL; |
| 285 | } |
Neels Hofmeyr | c4628a3 | 2018-12-07 14:47:34 +0100 | [diff] [blame] | 286 | |
| 287 | int gsm411_gsup_rx(struct gsup_client_mux *gcm, void *data, const struct osmo_gsup_message *gsup_msg) |
| 288 | { |
Vadim Yanitskiy | 805eca2 | 2019-06-15 17:30:23 +0700 | [diff] [blame] | 289 | struct gsm_network *net = (struct gsm_network *) data; |
Vadim Yanitskiy | 59e0c6b | 2019-06-19 19:48:37 +0700 | [diff] [blame] | 290 | struct vlr_subscr *vsub; |
| 291 | int rc; |
Neels Hofmeyr | c4628a3 | 2018-12-07 14:47:34 +0100 | [diff] [blame] | 292 | |
Vadim Yanitskiy | 59e0c6b | 2019-06-19 19:48:37 +0700 | [diff] [blame] | 293 | vsub = vlr_subscr_find_by_imsi(net->vlr, gsup_msg->imsi, __func__); |
Neels Hofmeyr | c4628a3 | 2018-12-07 14:47:34 +0100 | [diff] [blame] | 294 | if (!vsub) { |
Vadim Yanitskiy | 3d60303 | 2019-06-15 00:54:30 +0700 | [diff] [blame] | 295 | LOGP(DLSMS, LOGL_ERROR, "Rx %s for unknown subscriber, rejecting\n", |
| 296 | osmo_gsup_message_type_name(gsup_msg->message_type)); |
Neels Hofmeyr | c4628a3 | 2018-12-07 14:47:34 +0100 | [diff] [blame] | 297 | gsup_client_mux_tx_error_reply(gcm, gsup_msg, GMM_CAUSE_IMSI_UNKNOWN); |
| 298 | return -GMM_CAUSE_IMSI_UNKNOWN; |
| 299 | } |
| 300 | |
| 301 | switch (gsup_msg->message_type) { |
| 302 | /* GSM 04.11 code implementing MO SMS */ |
| 303 | case OSMO_GSUP_MSGT_MO_FORWARD_SM_ERROR: |
| 304 | case OSMO_GSUP_MSGT_MO_FORWARD_SM_RESULT: |
| 305 | case OSMO_GSUP_MSGT_READY_FOR_SM_ERROR: |
| 306 | case OSMO_GSUP_MSGT_READY_FOR_SM_RESULT: |
| 307 | DEBUGP(DMSC, "Routed to GSM 04.11 MO handler\n"); |
Vadim Yanitskiy | 59e0c6b | 2019-06-19 19:48:37 +0700 | [diff] [blame] | 308 | rc = gsm411_gsup_mo_handler(net, vsub, gsup_msg); |
| 309 | break; |
Neels Hofmeyr | c4628a3 | 2018-12-07 14:47:34 +0100 | [diff] [blame] | 310 | |
| 311 | /* GSM 04.11 code implementing MT SMS */ |
| 312 | case OSMO_GSUP_MSGT_MT_FORWARD_SM_REQUEST: |
| 313 | DEBUGP(DMSC, "Routed to GSM 04.11 MT handler\n"); |
Vadim Yanitskiy | 59e0c6b | 2019-06-19 19:48:37 +0700 | [diff] [blame] | 314 | rc = gsm411_gsup_mt_handler(net, vsub, gsup_msg); |
| 315 | break; |
Neels Hofmeyr | c4628a3 | 2018-12-07 14:47:34 +0100 | [diff] [blame] | 316 | |
| 317 | default: |
| 318 | LOGP(DMM, LOGL_ERROR, "No handler found for %s, dropping message...\n", |
| 319 | osmo_gsup_message_type_name(gsup_msg->message_type)); |
Vadim Yanitskiy | 59e0c6b | 2019-06-19 19:48:37 +0700 | [diff] [blame] | 320 | rc = -GMM_CAUSE_MSGT_NOTEXIST_NOTIMPL; |
Neels Hofmeyr | c4628a3 | 2018-12-07 14:47:34 +0100 | [diff] [blame] | 321 | } |
Vadim Yanitskiy | 59e0c6b | 2019-06-19 19:48:37 +0700 | [diff] [blame] | 322 | |
| 323 | vlr_subscr_put(vsub, __func__); |
| 324 | return rc; |
Neels Hofmeyr | c4628a3 | 2018-12-07 14:47:34 +0100 | [diff] [blame] | 325 | } |