From patchwork Mon Aug 8 21:22:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lev Stipakov X-Patchwork-Id: 2644 Return-Path: Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director11.mail.ord1d.rsapps.net ([172.27.255.58]) by backend30.mail.ord1d.rsapps.net with LMTP id KHQMG3IL8mJzBgAAIUCqbw (envelope-from ) for ; Tue, 09 Aug 2022 03:23:30 -0400 Received: from proxy18.mail.iad3a.rsapps.net ([172.27.255.58]) by director11.mail.ord1d.rsapps.net with LMTP id SFL1GnIL8mKYOwAAvGGmqA (envelope-from ) for ; Tue, 09 Aug 2022 03:23:30 -0400 Received: from smtp50.gate.iad3a ([172.27.255.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by proxy18.mail.iad3a.rsapps.net with LMTPS id 0O2pFXIL8mLmZAAAon3hFg (envelope-from ) for ; Tue, 09 Aug 2022 03:23:30 -0400 X-Spam-Threshold: 95 X-Spam-Score: 0 X-Spam-Flag: NO X-Virus-Scanned: OK X-Orig-To: openvpnslackdevel@openvpn.net X-Originating-Ip: [216.105.38.7] Authentication-Results: smtp50.gate.iad3a.rsapps.net; iprev=pass policy.iprev="216.105.38.7"; spf=pass smtp.mailfrom="openvpn-devel-bounces@lists.sourceforge.net" smtp.helo="lists.sourceforge.net"; dkim=fail (signature verification failed) header.d=sourceforge.net; dkim=fail (signature verification failed) header.d=sf.net; dkim=fail (signature verification failed) header.d=gmail.com; dmarc=fail (p=none; dis=none) header.from=gmail.com X-Suspicious-Flag: YES X-Classification-ID: 2a886334-17b4-11ed-b693-525400c2fb51-1-1 Received: from [216.105.38.7] ([216.105.38.7:51552] helo=lists.sourceforge.net) by smtp50.gate.iad3a.rsapps.net (envelope-from ) (ecelerity 4.2.38.62370 r(:)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id 4A/AF-32231-17B02F26; Tue, 09 Aug 2022 03:23:30 -0400 Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.94.2) (envelope-from ) id 1oLJZH-0007JE-4L; Tue, 09 Aug 2022 07:22:23 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oLJZF-0007J8-RU for openvpn-devel@lists.sourceforge.net; Tue, 09 Aug 2022 07:22:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=YXOAQLoOrJlSZnuqbh4/0tc+nD/1dQZOwyGUEKbtoqs=; b=jSJXCP5pTI74EvKjMj2zzZKKpA dVoekfu7dZ3fXqtFXsOyrCsLNfj+xws0treTdZ/zg0lNusE+Kb95qt1GhoUmePjK68ugdtAU9ML74 OnrIGBHqD45pD1BIJpcm015KjVC+5J1BZr2TDZFM2KC+RiUGIevBv2JdyyNhejxFk+pE=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:MIME-Version: Content-Type:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=YXOAQLoOrJlSZnuqbh4/0tc+nD/1dQZOwyGUEKbtoqs=; b=Urr68JqW1UNMwFXE6HIvTnzdf6 gES+YibNXBpo25iI3icO4YwI9Rm46RLsgHMrf83ZnfLRy3CDyRlYbjOePXb294jLPYcfefzJpstSc 42m4KXHn0p8Vr1WnQJAOtkNW97KJPq4RttsOnfJH45af1UHJYHS4Du6WHQHTS6eR4Xvc=; Received: from mail-lf1-f51.google.com ([209.85.167.51]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.94.2) id 1oLJZE-008okw-WB for openvpn-devel@lists.sourceforge.net; Tue, 09 Aug 2022 07:22:21 +0000 Received: by mail-lf1-f51.google.com with SMTP id o2so8504340lfb.1 for ; Tue, 09 Aug 2022 00:22:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:subject:cc:to:from:from:to:cc; bh=YXOAQLoOrJlSZnuqbh4/0tc+nD/1dQZOwyGUEKbtoqs=; b=qZLMEQjKlSLVkQjLnz84AkTkbakeLEDZfKJZSCJuP5EKD/AxVdtdCu7zz/+oYKLQSB BZq1fe+w7kIl7tOu3ewLpxL5azBAPQakA6QDu4y+oF99FD8v6VyDvC4XMIA/PanIIi35 jY2qmVTxNz/yYhGRTjK6nZCbv/S/BbnmvzYUENoUhfvZF4SPLTT6VYTYdYKpX2L/VhD2 +EUw36tJFRpCIcmFEWIpDXe1/FLLT4AGvI2PZ0/e+kT+Zgm7D3gGFsRqQjZZXloiXAWX QddGdId518Z/Jmq/iX2xkfqWwfJ1OQrHOoZEeuHar4ALNhvGqnT2PBlZluAp/sf8bq7V RwmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=YXOAQLoOrJlSZnuqbh4/0tc+nD/1dQZOwyGUEKbtoqs=; b=Ky/LU53GIMKijMyZVElmWU8SuqXFDU7QBb/Up2iuyHhJuovWOHBfGYOcVsDEZtXcTu ThgYxXxTsABLLrUPz6NZZgvS5IZhnAtyvARmKV7siWi8Y5xv1VRP2j+itZZubTohRXRD MZbJ+isCGlHeQllYy0deeWCj4H077ozkhtT0v70Km7JpFS+uHTJrWiWE7xF/CyUkqqeR 3F2luwLH+XQHHpJPpJ4l9ogFHLUkM8KfrJYl2j6Qym7zLXyKGx70CJOfLF2BVZ5WnSPl vDdLjkWa0tnqeTCLoNSRBo3VF97S6qI09Enx28oJVMo1/JsrL6i2PZISMARfW2br+Z23 4Sxg== X-Gm-Message-State: ACgBeo3xDNzKA3KVyhHmA0xuf7rjvJDuN9I3gmMIDVxOUTlVDY2Zkp6R l/sfoUp17S9kvh5OmUKeSFNRAJENY20= X-Google-Smtp-Source: AA6agR6YClN6uCojz3bLXUHMtErwU3/aX8fwihz8jZ2TgvWdjSGlIyHmc7s85ZAs3PQeouDdYv0qcA== X-Received: by 2002:a19:ac09:0:b0:48a:d1b5:1791 with SMTP id g9-20020a19ac09000000b0048ad1b51791mr7941958lfc.397.1660029733975; Tue, 09 Aug 2022 00:22:13 -0700 (PDT) Received: from LAPTOP-4L3N7KFS.localdomain (nat1.panoulu.net. [185.38.2.1]) by smtp.gmail.com with ESMTPSA id i26-20020a196d1a000000b0048a9b197863sm1655528lfc.235.2022.08.09.00.22.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Aug 2022 00:22:13 -0700 (PDT) From: Lev Stipakov To: openvpn-devel@lists.sourceforge.net Date: Tue, 9 Aug 2022 10:22:20 +0300 Message-Id: <20220809072220.255-1-lstipakov@gmail.com> X-Mailer: git-send-email 2.17.1 X-Spam-Report: Spam detection software, running on the system "util-spamd-2.v13.lw.sourceforge.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Lev Stipakov Signed-off-by: Lev Stipakov --- src/openvpn/tun.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/openvpn/tun.c b/src/openvpn/tun.c index 54f7d72c..f3152a52 100644 --- a/src/openvpn/tun.c +++ b/src/openvpn/tun.c @@ -745,7 +745,6 @@ init_tun(const char *dev, /* --dev option */ stru [...] Content analysis details: (-0.2 points, 6.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.167.51 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.167.51 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [lstipakov[at]gmail.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Headers-End: 1oLJZE-008okw-WB Subject: [Openvpn-devel] [PATCH] tun.c: remove unused gc_arena from init_tun() X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lev Stipakov MIME-Version: 1.0 Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox From: Lev Stipakov Signed-off-by: Lev Stipakov Acked-by: Antonio Quartulli --- src/openvpn/tun.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/openvpn/tun.c b/src/openvpn/tun.c index 54f7d72c..f3152a52 100644 --- a/src/openvpn/tun.c +++ b/src/openvpn/tun.c @@ -745,7 +745,6 @@ init_tun(const char *dev, /* --dev option */ struct env_set *es, openvpn_net_ctx_t *ctx) { - struct gc_arena gc = gc_new(); struct tuntap *tt; ALLOC_OBJ(tt, struct tuntap); @@ -878,7 +877,6 @@ init_tun(const char *dev, /* --dev option */ do_ifconfig_setenv(tt, es); } - gc_free(&gc); return tt; }