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/.
Harald Welte gerrit-no-reply at lists.osmocom.orgHarald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/10077 ) Change subject: trx_toolkit/trx_sniff.py: fix memleak: don't store packets ...................................................................... trx_toolkit/trx_sniff.py: fix memleak: don't store packets The Scapy itself was the actual cause of continuously growing memory consumption. It was configured to store the captured packets, what isn't required for this tool. Change-Id: I0c6d9b76398e148b7febd94aa37aa2fa22d19b3f --- M src/target/trx_toolkit/trx_sniff.py 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Jenkins Builder: Verified Harald Welte: Looks good to me, approved diff --git a/src/target/trx_toolkit/trx_sniff.py b/src/target/trx_toolkit/trx_sniff.py index 577e6f9..535bb3f 100755 --- a/src/target/trx_toolkit/trx_sniff.py +++ b/src/target/trx_toolkit/trx_sniff.py @@ -79,7 +79,7 @@ print("[i] Listening on interface '%s'..." % self.sniff_interface) # Start sniffing... - scapy.all.sniff(iface = self.sniff_interface, store = 1, + scapy.all.sniff(iface = self.sniff_interface, store = 0, filter = pkt_filter, prn = self.pkt_handler) # Scapy registers its own signal handler -- To view, visit https://gerrit.osmocom.org/10077 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmocom-bb Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I0c6d9b76398e148b7febd94aa37aa2fa22d19b3f Gerrit-Change-Number: 10077 Gerrit-PatchSet: 1 Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com> Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org> Gerrit-Reviewer: Jenkins Builder -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180721/793a1748/attachment.htm>