Change in libosmo-abis[master]: ipaccess_recvmsg: Assert the new bfd from new line differs from the o...

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Mon Jul 20 15:27:34 UTC 2020


pespin has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-abis/+/19261 )

Change subject: ipaccess_recvmsg: Assert the new bfd from new line differs from the old one
......................................................................

ipaccess_recvmsg: Assert the new bfd from new line differs from the old one

Related: OS#4624
Change-Id: I45818e04af0da7b1109d909642a1ea378a85a636
---
M src/input/ipaccess.c
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/src/input/ipaccess.c b/src/input/ipaccess.c
index 8a7142d..02a5028 100644
--- a/src/input/ipaccess.c
+++ b/src/input/ipaccess.c
@@ -303,6 +303,7 @@
 			e1inp_line_get2(new_line, "ipa_bfd");
 			ts = e1inp_line_ipa_rsl_ts(new_line, unit_data.trx_id);
 			newbfd = &ts->driver.ipaccess.fd;
+			OSMO_ASSERT(newbfd != bfd);
 
 			/* get rid of our old temporary bfd */
 			/* preserve 'newbfd->when' flags potentially set by sign_link_up() */

-- 
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/19261
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: I45818e04af0da7b1109d909642a1ea378a85a636
Gerrit-Change-Number: 19261
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200720/f96fe431/attachment.htm>


More information about the gerrit-log mailing list