Projects
osmocom:master
libosmocore
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 141
View file
libosmocore.spec
Changed
@@ -14,13 +14,13 @@ Name: libosmocore Requires: osmocom-master -Version: 1.8.0.118.fa3a +Version: 1.8.0.119.8f026 Release: 0 Summary: The Open Source Mobile Communications Core Library License: GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND AGPL-3.0-or-later Group: Productivity/Telephony/Utilities Url: https://osmocom.org/projects/libosmocore/wiki/Libosmocore -Source: libosmocore_1.8.0.118.fa3a.tar.xz +Source: libosmocore_1.8.0.119.8f026.tar.xz Source1: rpmlintrc BuildRequires: automake >= 1.6 BuildRequires: libtool >= 2
View file
commit_8f026bf3b74293a9ed108937d1950b7453d6c5ef.txt
Added
View file
commit_fa3a9ce9fd98c170c84b64f6518febd322c81907.txt
Deleted
View file
libosmocore_1.8.0.118.fa3a.dsc -> libosmocore_1.8.0.119.8f026.dsc
Changed
@@ -2,7 +2,7 @@ Source: libosmocore Binary: libosmocore, libosmocodec0, libosmocodec-doc, libosmocoding0, libosmocoding-doc, libosmocore20, libosmocore-doc, libosmogb14, libosmogb-doc, libosmogsm18, libosmogsm-doc, libosmoisdn0, libosmoisdn-doc, libosmovty9, libosmovty-doc, libosmoctrl0, libosmoctrl-doc, libosmosim2, libosmosim-doc, libosmousb0, libosmousb-doc, libosmocore-dev, libosmocore-utils, libosmocore-dbg Architecture: any all -Version: 1.8.0.118.fa3a +Version: 1.8.0.119.8f026 Maintainer: Osmocom team <openbsc@lists.osmocom.org> Homepage: https://projects.osmocom.org/projects/libosmocore Standards-Version: 3.9.8 @@ -35,8 +35,8 @@ libosmovty-doc deb doc optional arch=all libosmovty9 deb libs optional arch=any Checksums-Sha1: - 981b3d7bbd3346ea1461313bd451dc979bffe0a3 1040268 libosmocore_1.8.0.118.fa3a.tar.xz + e18782f591f1b55824b3006a7a592ec7e450895f 1040516 libosmocore_1.8.0.119.8f026.tar.xz Checksums-Sha256: - 6ae32b576c963625031a5fa294e7ca7b797949234c4586596f41e8f92e32b516 1040268 libosmocore_1.8.0.118.fa3a.tar.xz + 315575a82181a3e16bf991282541bd85b01b2d55640885545be7bd57030f0085 1040516 libosmocore_1.8.0.119.8f026.tar.xz Files: - 9f87e5e545b315c6e5c4fc6dad0df28f 1040268 libosmocore_1.8.0.118.fa3a.tar.xz + dcb4176a237516d4af723a80d210f863 1040516 libosmocore_1.8.0.119.8f026.tar.xz
View file
libosmocore_1.8.0.118.fa3a.tar.xz/.tarball-version -> libosmocore_1.8.0.119.8f026.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -1.8.0.118-fa3a +1.8.0.119-8f026
View file
libosmocore_1.8.0.118.fa3a.tar.xz/debian/changelog -> libosmocore_1.8.0.119.8f026.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -libosmocore (1.8.0.118.fa3a) unstable; urgency=medium +libosmocore (1.8.0.119.8f026) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom master feed - -- Osmocom OBS scripts <info@osmocom.org> Tue, 16 May 2023 08:17:21 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Tue, 16 May 2023 08:26:12 +0000 libosmocore (1.8.0) unstable; urgency=medium
View file
libosmocore_1.8.0.118.fa3a.tar.xz/src/gb/gprs_ns2_fr.c -> libosmocore_1.8.0.119.8f026.tar.xz/src/gb/gprs_ns2_fr.c
Changed
@@ -332,9 +332,19 @@ static int fr_vc_sendmsg(struct gprs_ns2_vc *nsvc, struct msgb *msg) { struct priv_vc *vcpriv = nsvc->priv; + unsigned int vc_len = msgb_length(msg); + int rc; msg->dst = vcpriv->dlc; - return osmo_fr_tx_dlc(msg); + rc = osmo_fr_tx_dlc(msg); + if (OSMO_LIKELY(rc >= 0)) { + RATE_CTR_INC_NS(nsvc, NS_CTR_PKTS_OUT); + RATE_CTR_ADD_NS(nsvc, NS_CTR_BYTES_OUT, vc_len); + } else { + RATE_CTR_INC_NS(nsvc, NS_CTR_PKTS_OUT_DROP); + RATE_CTR_ADD_NS(nsvc, NS_CTR_BYTES_OUT_DROP, vc_len); + } + return rc; } static void enqueue_at_head(struct gprs_ns2_vc_bind *bind, struct msgb *msg)
View file
libosmocore_1.8.0.118.fa3a.tar.xz/src/gb/gprs_ns2_frgre.c -> libosmocore_1.8.0.119.8f026.tar.xz/src/gb/gprs_ns2_frgre.c
Changed
@@ -503,6 +503,8 @@ uint16_t dlci = osmo_htons(bindpriv->dlci); uint8_t *frh; struct gre_hdr *greh; + unsigned int vc_len = msgb_length(msg); + int rc; /* Prepend the FR header */ frh = msgb_push(msg, 2); @@ -514,7 +516,15 @@ greh->flags = 0; greh->ptype = osmo_htons(GRE_PTYPE_FR); - return frgre_sendmsg(bind, msg, &vcpriv->remote); + rc = frgre_sendmsg(bind, msg, &vcpriv->remote); + if (OSMO_LIKELY(rc >= 0)) { + RATE_CTR_INC_NS(nsvc, NS_CTR_PKTS_OUT); + RATE_CTR_ADD_NS(nsvc, NS_CTR_BYTES_OUT, rc); + } else { + RATE_CTR_INC_NS(nsvc, NS_CTR_PKTS_OUT_DROP); + RATE_CTR_ADD_NS(nsvc, NS_CTR_BYTES_OUT_DROP, vc_len); + } + return rc; } static int frgre_fd_cb(struct osmo_fd *bfd, unsigned int what)
View file
libosmocore_1.8.0.118.fa3a.tar.xz/src/gb/gprs_ns2_message.c -> libosmocore_1.8.0.119.8f026.tar.xz/src/gb/gprs_ns2_message.c
Changed
@@ -169,23 +169,9 @@ return 0; } - static int ns_vc_tx(struct gprs_ns2_vc *nsvc, struct msgb *msg) { - unsigned int bytes = msgb_length(msg); - int rc; - - - rc = nsvc->bind->send_vc(nsvc, msg); - if (rc < 0) { - RATE_CTR_INC_NS(nsvc, NS_CTR_PKTS_OUT_DROP); - RATE_CTR_ADD_NS(nsvc, NS_CTR_BYTES_OUT_DROP, bytes); - } else { - RATE_CTR_INC_NS(nsvc, NS_CTR_PKTS_OUT); - RATE_CTR_ADD_NS(nsvc, NS_CTR_BYTES_OUT, bytes); - } - - return rc; + return nsvc->bind->send_vc(nsvc, msg); } /* transmit functions */
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.