commit | a68a863b9d74b79792b985087b83d9ca85b7dac5 | [log] [tgz] |
---|---|---|
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | Mon Dec 11 20:59:44 2023 +0700 |
committer | fixeria <vyanitskiy@sysmocom.de> | Sun Dec 17 11:50:44 2023 +0000 |
tree | 9d28b16228c8fe300c25251ebe0f7d747738bdbc | |
parent | 18717f5247e5d5b71b095c553d91da12ed14cf80 [diff] |
mgcp: simplify getting msgb tail in mgcp_msg_terminate_nul() The current statement: msg->l2h + msgb_l2len(msg) looks as follows, if we expand the msgb_l2len(): msg->l2h + msgb->tail - msg->l2h so this is basically equal to msgb->tail alone. Change-Id: I4f4b0f792bbeef94a5449c4a5843628a703a3d54 Related: CID#272990