[Git] mISDN library and utilities branch socket updated. mISDNuser_1_1_2-362-g0cac6f5
[email protected] (git version ctrl) Tue, 29 Mar 2016 12:48:14 +0200 (CEST)
| Newsgroups | gmane.linux.isdn.i4l.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============3341231538802415955==
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by listserv.isdn4linux.de id u2TBDC99032670
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "mISDN library and utilities".
The branch, socket has been updated
via 0cac6f51766bc069e2a6fd6d6e9fa5796b568f79 (commit)
via 99bccfa7b9333b9fc2ab92a822cfcdb7d91a62cb (commit)
from 7e1924062d2e3c5736b955132c838a09f654aac6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 0cac6f51766bc069e2a6fd6d6e9fa5796b568f79
Author: Maciej S. Szmigiero <[email protected]>
Date: Fri Mar 18 22:44:32 2016 +0100
testlayer3: Normalize successful write() return value in bch_worker()
=20
bch_worker() on {DL,PH}_DATA_IND returns what write() call has return=
ed.
This function returns number of bytes written, however bch_worker() c=
aller
main_worker() treats any non-zero return value of bch_worker() as sig=
nal
to disconnect the call.
=20
This all meant that call terminated on first received chunk of data.
=20
Fix it by normalizing a positive return value of write() in bch_worke=
r()
to zero.
=20
Signed-off-by: Maciej S. Szmigiero <[email protected]>
Signed-off-by: Karsten Keil <keil-shG/GajIFYqbacvFa/[email protected]>
commit 99bccfa7b9333b9fc2ab92a822cfcdb7d91a62cb
Author: Maciej S. Szmigiero <[email protected]>
Date: Fri Mar 18 22:43:32 2016 +0100
testlayer3: Add missing break in MT_CONNECT case in do_control_worker=
()
=20
MT_CONNECT case in do_control_worker() was missing final break so on =
this
message code in next (identical) case of MT_CONNECT_ACKNOWLEDGE was
executed, too.
=20
In "send and receive voice" mode this resulted in
"bchannel_senddata: next_skb exist ERROR (skb->len=3D64 next_skb->len=
=3D64)"
error and immediate call disconnection due to TX data being submitted
twice.
=20
Signed-off-by: Maciej S. Szmigiero <[email protected]>
Signed-off-by: Karsten Keil <keil-shG/GajIFYqbacvFa/[email protected]>
-----------------------------------------------------------------------
Summary of changes:
example/testlayer3.c | 3 +++
1 Datei ge=C3=A4ndert, 3 Zeilen hinzugef=C3=BCgt(+)
hooks/post-receive
--=20
mISDN library and utilities
--===============3341231538802415955==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
_______________________________________________
i4ldeveloper mailing list
[email protected]
https://www.isdn4linux.de/mailman/listinfo/i4ldeveloper
--===============3341231538802415955==--