From patchwork Thu Feb 1 11:07:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Wunderlich X-Patchwork-Id: 18631 X-Patchwork-Delegate: sw@simonwunderlich.de Return-Path: X-Original-To: patchwork@open-mesh.org Delivered-To: patchwork@open-mesh.org Received: from diktynna.open-mesh.org (localhost [IPv6:::1]) by diktynna.open-mesh.org (Postfix) with ESMTP id 9D4BC84276 for ; Thu, 1 Feb 2024 12:09:17 +0100 (CET) ARC-Seal: i=2; cv=pass; a=rsa-sha256; d=open-mesh.org; s=20121; t=1706785757; b=MStOXix6zUwbAX8LpXgrSlszY6RjcSst+ifcDa907LsyJcCFCqXynQUfiJW7SW41/xEQ4 RZKej/1QNm113tAPFvr8DH6x/E6LCmoTY2XOy/tqbGwriBx8nqcQQR5WVaN126lUNoqu7tg yhpKaxwKi1DRExEt/H3bFRuaR5mEuog= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=open-mesh.org; s=20121; t=1706785757; h=from : sender : reply-to : subject : date : message-id : to : cc : 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=pmYKqYyE1JR0P18Lszc5tmf8kQcs3uw5FoMPrCryMt8=; b=kUzBtgGpyb3Q6ewD6uFQfblzKR073Dpdwo1v6oDSCVXiqhvwekIRIDDSBxOdaOXIn/Chb PEJSG6whIzdiW9f+nhxox2Cgzq3wTY0QPi1pkwwOHzQtdrkn/aUMsDk6Nn6JwbRCQTbB+4E O1jIZIzP2RT8ix+PeVT5FZ7B7FQsGEg= ARC-Authentication-Results: i=2; open-mesh.org; dkim=fail; arc=pass; dmarc=fail (Used From Domain Record) header.from=simonwunderlich.de policy.dmarc=none Authentication-Results: open-mesh.org; dkim=fail; arc=pass; dmarc=fail (Used From Domain Record) header.from=simonwunderlich.de policy.dmarc=none Received: from mail.simonwunderlich.de (mail.simonwunderlich.de [23.88.38.48]) by diktynna.open-mesh.org (Postfix) with ESMTPS id A4A5480B42 for ; Thu, 1 Feb 2024 12:07:59 +0100 (CET) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=open-mesh.org; s=20121; t=1706785679; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pmYKqYyE1JR0P18Lszc5tmf8kQcs3uw5FoMPrCryMt8=; b=y1nv0o86YjzRhfcbanOakEAhDhATt6NL1dXjWytBVh6fP+j1CsUJyArLfVC8h4Nm6kQJgj oA7nNP5agq37QFznifnEQmiz1L/lzsU1RyPdKXxyruY5Q0joKEZhO4hvaLpiQSND/TwCee +5wnVau6aiw0rWXyny7Rlz7985HZcTs= ARC-Authentication-Results: i=1; diktynna.open-mesh.org; dkim=none; spf=pass (diktynna.open-mesh.org: domain of sw@simonwunderlich.de designates 23.88.38.48 as permitted sender) smtp.mailfrom=sw@simonwunderlich.de; dmarc=pass (policy=none) header.from=simonwunderlich.de ARC-Seal: i=1; s=20121; d=open-mesh.org; t=1706785679; a=rsa-sha256; cv=none; b=v47mIL+BqYVp6NmurctLBEcEcZXJbgAmmVFQ3Upgg4rvez2bP26A6WBcvzKuShrFyewGu2 fjQazi+Ku1q/9ouULoDKiKwZGU38EJDunjc9hleLD5EfynSYUbL8TRcfmIvbGgMiuHnmnx YWxCgYCcB/bQgH0er3UEUQershQMMFo= Received: from kero.packetmixer.de (p200300C59712c7d8d89318fb9d63b559.dip0.t-ipconnect.de [IPv6:2003:c5:9712:c7d8:d893:18fb:9d63:b559]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.simonwunderlich.de (Postfix) with ESMTPSA id 701F8FA9B3; Thu, 1 Feb 2024 12:07:59 +0100 (CET) From: Simon Wunderlich To: kuba@kernel.org, davem@davemloft.net Cc: netdev@vger.kernel.org, b.a.t.m.a.n@lists.open-mesh.org, Simon Wunderlich Subject: [PATCH 1/4] batman-adv: Start new development cycle Date: Thu, 1 Feb 2024 12:07:53 +0100 Message-Id: <20240201110756.29728-2-sw@simonwunderlich.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240201110756.29728-1-sw@simonwunderlich.de> References: <20240201110756.29728-1-sw@simonwunderlich.de> MIME-Version: 1.0 Message-ID-Hash: BL3EPTNUZKSPMINYQHS5FLK2AKDPSPEW X-Message-ID-Hash: BL3EPTNUZKSPMINYQHS5FLK2AKDPSPEW X-MailFrom: sw@simonwunderlich.de X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-b.a.t.m.a.n.lists.open-mesh.org-0; header-match-b.a.t.m.a.n.lists.open-mesh.org-1; header-match-b.a.t.m.a.n.lists.open-mesh.org-2; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: The list for a Better Approach To Mobile Ad-hoc Networking Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: This version will contain all the (major or even only minor) changes for Linux 6.9. The version number isn't a semantic version number with major and minor information. It is just encoding the year of the expected publishing as Linux -rc1 and the number of published versions this year (starting at 0). Signed-off-by: Simon Wunderlich --- net/batman-adv/main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h index 870dcd7f1786..8ca854a75a32 100644 --- a/net/batman-adv/main.h +++ b/net/batman-adv/main.h @@ -13,7 +13,7 @@ #define BATADV_DRIVER_DEVICE "batman-adv" #ifndef BATADV_SOURCE_VERSION -#define BATADV_SOURCE_VERSION "2024.0" +#define BATADV_SOURCE_VERSION "2024.1" #endif /* B.A.T.M.A.N. parameters */ From patchwork Thu Feb 1 11:07:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Simon Wunderlich X-Patchwork-Id: 18632 X-Patchwork-Delegate: sw@simonwunderlich.de Return-Path: X-Original-To: patchwork@open-mesh.org Delivered-To: patchwork@open-mesh.org Received: from diktynna.open-mesh.org (localhost [IPv6:::1]) by diktynna.open-mesh.org (Postfix) with ESMTP id C2AF484350 for ; Thu, 1 Feb 2024 12:09:59 +0100 (CET) ARC-Seal: i=2; cv=pass; a=rsa-sha256; d=open-mesh.org; s=20121; t=1706785799; b=JMnKk5/7OmyznOQYMRfPx6SvAjj/S9owo+RDzg01IduSe+ELtOCKOVYjXPLjUceSTT+P3 A6vaNlG3ozuuWuTSl0DXZYecDCjOaPAPTV+1xEQ33wgw7tduNHu9JcVXz88bRQFhpbtPpse Ag/Q4d7T8l7W44JJR7DyLE0i6An+7e8= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=open-mesh.org; s=20121; t=1706785799; h=from : sender : reply-to : subject : date : message-id : to : cc : 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=Kmhfb/8f2incvPKVY3XPnMqKoh4ReDpDQYpclE2lp0Q=; b=JNBUgbCCdKhhrCle7/FqMka7u8RU9kD5y7Y8mFsb027WeDuNyXtfwbei2CPMsvl8xmNay ur5VDLSEaGyPvdPrTaBtHJOf2xnpaOgvAccyjz6Jo4t64R/9blWgIEwmnS8uk+WmKCSNDO8 FfGU+qlRcSKMwqLgaZAUzeoO3utf7Qg= ARC-Authentication-Results: i=2; open-mesh.org; dkim=fail; arc=pass; dmarc=fail (Used From Domain Record) header.from=simonwunderlich.de policy.dmarc=none Authentication-Results: open-mesh.org; dkim=fail; arc=pass; dmarc=fail (Used From Domain Record) header.from=simonwunderlich.de policy.dmarc=none Received: from mail.simonwunderlich.de (mail.simonwunderlich.de [23.88.38.48]) by diktynna.open-mesh.org (Postfix) with ESMTPS id 3982182E57 for ; Thu, 1 Feb 2024 12:08:00 +0100 (CET) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=open-mesh.org; s=20121; t=1706785680; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Kmhfb/8f2incvPKVY3XPnMqKoh4ReDpDQYpclE2lp0Q=; b=1EBA9/9syCPGIbW9dRJBt0Hj16bXmDC9YIK8ADihQXu4n/X1SEj/C7w9S7Gq6lu4kozp6+ Vq78qJGvDRivEzcPU4VkSm+XcWHDoo6lB4CJKAyXqGVuOKjJ3n3dyIdwxah/wgEfRCHGkm 8ZBXWPeFWVWNus8RB65cfKwbpddlM1Y= ARC-Authentication-Results: i=1; diktynna.open-mesh.org; dkim=none; spf=pass (diktynna.open-mesh.org: domain of sw@simonwunderlich.de designates 23.88.38.48 as permitted sender) smtp.mailfrom=sw@simonwunderlich.de; dmarc=pass (policy=none) header.from=simonwunderlich.de ARC-Seal: i=1; s=20121; d=open-mesh.org; t=1706785680; a=rsa-sha256; cv=none; b=QOIIv2w7SxurZ6Tj+wpKNjDJDpC/0zEhvGQmFtr5Az1qXfzf1Y/pTwSERqoZ+louK8kv1/ Z6ndWq0buWH4D3KQziYdYi/e4hWclV/lNXd6lbPDYFn2GygBpEsrM4aXI73ldgGYq2d/zG XJCjbfSt+uUT1nDWb4nszw9l0CEygSo= Received: from kero.packetmixer.de (p200300C59712C7d8D89318FB9D63B559.dip0.t-ipconnect.de [IPv6:2003:c5:9712:c7d8:d893:18fb:9d63:b559]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.simonwunderlich.de (Postfix) with ESMTPSA id B2ED4FA9B4; Thu, 1 Feb 2024 12:07:59 +0100 (CET) From: Simon Wunderlich To: kuba@kernel.org, davem@davemloft.net Cc: netdev@vger.kernel.org, b.a.t.m.a.n@lists.open-mesh.org, Markus Elfring , Sven Eckelmann , Simon Wunderlich Subject: [PATCH 2/4] batman-adv: Return directly after a failed batadv_dat_select_candidates() in batadv_dat_forward_data() Date: Thu, 1 Feb 2024 12:07:54 +0100 Message-Id: <20240201110756.29728-3-sw@simonwunderlich.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240201110756.29728-1-sw@simonwunderlich.de> References: <20240201110756.29728-1-sw@simonwunderlich.de> MIME-Version: 1.0 Message-ID-Hash: 3KT2ICN5MCHDZNIFMO372SSOFF6A6QHA X-Message-ID-Hash: 3KT2ICN5MCHDZNIFMO372SSOFF6A6QHA X-MailFrom: sw@simonwunderlich.de X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-b.a.t.m.a.n.lists.open-mesh.org-0; header-match-b.a.t.m.a.n.lists.open-mesh.org-1; header-match-b.a.t.m.a.n.lists.open-mesh.org-2; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: The list for a Better Approach To Mobile Ad-hoc Networking Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Markus Elfring The kfree() function was called in one case by the batadv_dat_forward_data() function during error handling even if the passed variable contained a null pointer. This issue was detected by using the Coccinelle software. * Thus return directly after a batadv_dat_select_candidates() call failed at the beginning. * Delete the label “out” which became unnecessary with this refactoring. Signed-off-by: Markus Elfring Acked-by: Sven Eckelmann Signed-off-by: Simon Wunderlich --- net/batman-adv/distributed-arp-table.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/net/batman-adv/distributed-arp-table.c b/net/batman-adv/distributed-arp-table.c index 28a939d56090..4c7e85534324 100644 --- a/net/batman-adv/distributed-arp-table.c +++ b/net/batman-adv/distributed-arp-table.c @@ -684,7 +684,7 @@ static bool batadv_dat_forward_data(struct batadv_priv *bat_priv, cand = batadv_dat_select_candidates(bat_priv, ip, vid); if (!cand) - goto out; + return ret; batadv_dbg(BATADV_DBG_DAT, bat_priv, "DHT_SEND for %pI4\n", &ip); @@ -728,7 +728,6 @@ static bool batadv_dat_forward_data(struct batadv_priv *bat_priv, batadv_orig_node_put(cand[i].orig_node); } -out: kfree(cand); return ret; } From patchwork Thu Feb 1 11:07:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Wunderlich X-Patchwork-Id: 18633 X-Patchwork-Delegate: sw@simonwunderlich.de Return-Path: X-Original-To: patchwork@open-mesh.org Delivered-To: patchwork@open-mesh.org Received: from diktynna.open-mesh.org (localhost [IPv6:::1]) by diktynna.open-mesh.org (Postfix) with ESMTP id A02E9844A0 for ; Thu, 1 Feb 2024 12:10:39 +0100 (CET) ARC-Seal: i=2; cv=pass; a=rsa-sha256; d=open-mesh.org; s=20121; t=1706785839; b=zzV08UB/sG4tp9wXLbmg56sTHBGAY64EHK3ZVWEdy2gmj5oqwq0Aax5nIC5y91mrZinNp 9rBivn9E02WZnEmPId1R4GFqVE7SQfzZkNttlcw8s+k3NPgRwbDWGXCpF6jL6ugTZhvu7Zk VaKVSDhq6ug31RyiSyiL4+LDBxkVBZ4= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=open-mesh.org; s=20121; t=1706785839; h=from : sender : reply-to : subject : date : message-id : to : cc : 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=/3lHsh112Rhgr3F7kK+hW2dW58kE9t3CmWFBOkwXXx0=; b=QdAcHSTahD6s1SoFyghuMljOx7Hk4HnjgZiiXo8PTqHOSLNRX+ekCBIQjgOunvHOKSgss ATQm16csXwGSQ9vZi4NClfybfyS7oxNjmOaM3J/BO8MqJLTX0aMvMwZrrd51/Dq1/LkADYM FmeSXmiZWo11WUHKnZoZdrFUt0ubGi8= ARC-Authentication-Results: i=2; open-mesh.org; dkim=fail; arc=pass; dmarc=fail (Used From Domain Record) header.from=simonwunderlich.de policy.dmarc=none Authentication-Results: open-mesh.org; dkim=fail; arc=pass; dmarc=fail (Used From Domain Record) header.from=simonwunderlich.de policy.dmarc=none Received: from mail.simonwunderlich.de (mail.simonwunderlich.de [23.88.38.48]) by diktynna.open-mesh.org (Postfix) with ESMTPS id 8ECCE8342A for ; Thu, 1 Feb 2024 12:08:00 +0100 (CET) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=open-mesh.org; s=20121; t=1706785680; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/3lHsh112Rhgr3F7kK+hW2dW58kE9t3CmWFBOkwXXx0=; b=nM9Sev6SxtD5oygFtGBshfuMvaUBeLAUxHttSzrmWTsYZhb+zJU1fCi+JHKWKPUu/POz2K b2DRgslKgaAu2m+App8afi6+81zLp3d/mqfO/SLKFGn3/oPZeFNg0uob+xyvqO6srj4D+h oMVjCKJfFJ/pCQQWquHAx49qvcSZyEk= ARC-Authentication-Results: i=1; diktynna.open-mesh.org; dkim=none; spf=pass (diktynna.open-mesh.org: domain of sw@simonwunderlich.de designates 23.88.38.48 as permitted sender) smtp.mailfrom=sw@simonwunderlich.de; dmarc=pass (policy=none) header.from=simonwunderlich.de ARC-Seal: i=1; s=20121; d=open-mesh.org; t=1706785680; a=rsa-sha256; cv=none; b=N9c+29rJx3Zsux6xYmxOFgGdbqXhmiBvSKTGe9ZXRGscegEdPCEdXCDJLJb1E8H4mzqZRH 2FLynqyBB11FL+XNDMqvxEFEq3i+uqTzri6XphaP0jSH1Q3diKmMTrOySxMZ1DjMWG5/gU hARYMWSW29f3Ia8i6aSvfilqMoyP9v0= Received: from kero.packetmixer.de (p200300C59712c7D8d89318FB9D63b559.dip0.t-ipconnect.de [IPv6:2003:c5:9712:c7d8:d893:18fb:9d63:b559]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.simonwunderlich.de (Postfix) with ESMTPSA id 583FDFA9B5; Thu, 1 Feb 2024 12:08:00 +0100 (CET) From: Simon Wunderlich To: kuba@kernel.org, davem@davemloft.net Cc: netdev@vger.kernel.org, b.a.t.m.a.n@lists.open-mesh.org, Markus Elfring , Sven Eckelmann , Simon Wunderlich Subject: [PATCH 3/4] batman-adv: Improve exception handling in batadv_throw_uevent() Date: Thu, 1 Feb 2024 12:07:55 +0100 Message-Id: <20240201110756.29728-4-sw@simonwunderlich.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240201110756.29728-1-sw@simonwunderlich.de> References: <20240201110756.29728-1-sw@simonwunderlich.de> MIME-Version: 1.0 Message-ID-Hash: XI4OMJ7WZ3CGVDOJI2IAN6SO4C5O2A73 X-Message-ID-Hash: XI4OMJ7WZ3CGVDOJI2IAN6SO4C5O2A73 X-MailFrom: sw@simonwunderlich.de X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-b.a.t.m.a.n.lists.open-mesh.org-0; header-match-b.a.t.m.a.n.lists.open-mesh.org-1; header-match-b.a.t.m.a.n.lists.open-mesh.org-2; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: The list for a Better Approach To Mobile Ad-hoc Networking Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Markus Elfring The kfree() function was called in up to three cases by the batadv_throw_uevent() function during error handling even if the passed variable contained a null pointer. This issue was detected by using the Coccinelle software. * Thus adjust jump targets. * Reorder kfree() calls at the end. Signed-off-by: Markus Elfring Acked-by: Sven Eckelmann Signed-off-by: Simon Wunderlich --- net/batman-adv/main.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/net/batman-adv/main.c b/net/batman-adv/main.c index 5fc754b0b3f7..75119f1ffccc 100644 --- a/net/batman-adv/main.c +++ b/net/batman-adv/main.c @@ -691,29 +691,31 @@ int batadv_throw_uevent(struct batadv_priv *bat_priv, enum batadv_uev_type type, "%s%s", BATADV_UEV_TYPE_VAR, batadv_uev_type_str[type]); if (!uevent_env[0]) - goto out; + goto report_error; uevent_env[1] = kasprintf(GFP_ATOMIC, "%s%s", BATADV_UEV_ACTION_VAR, batadv_uev_action_str[action]); if (!uevent_env[1]) - goto out; + goto free_first_env; /* If the event is DEL, ignore the data field */ if (action != BATADV_UEV_DEL) { uevent_env[2] = kasprintf(GFP_ATOMIC, "%s%s", BATADV_UEV_DATA_VAR, data); if (!uevent_env[2]) - goto out; + goto free_second_env; } ret = kobject_uevent_env(bat_kobj, KOBJ_CHANGE, uevent_env); -out: - kfree(uevent_env[0]); - kfree(uevent_env[1]); kfree(uevent_env[2]); +free_second_env: + kfree(uevent_env[1]); +free_first_env: + kfree(uevent_env[0]); if (ret) +report_error: batadv_dbg(BATADV_DBG_BATMAN, bat_priv, "Impossible to send uevent for (%s,%s,%s) event (err: %d)\n", batadv_uev_type_str[type], From patchwork Thu Feb 1 11:07:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Wunderlich X-Patchwork-Id: 18634 X-Patchwork-Delegate: sw@simonwunderlich.de Return-Path: X-Original-To: patchwork@open-mesh.org Delivered-To: patchwork@open-mesh.org Received: from diktynna.open-mesh.org (localhost [IPv6:::1]) by diktynna.open-mesh.org (Postfix) with ESMTP id 2CBBA83FF9 for ; Thu, 1 Feb 2024 12:11:19 +0100 (CET) ARC-Seal: i=2; cv=pass; a=rsa-sha256; d=open-mesh.org; s=20121; t=1706785879; b=cJJf24AJrvxfwLldbQxwfq5bUJLG1KIYCM185ZOQok/NSYw0KxS4XOVj77Bmj6jJLZf+H Ypzgun/oj17AXHh6Zj5/P3kRJvkj+OaxFS8AjSjoTS0XddxRsC4cCKnQAxAPPSZw0ndPY7D MWpCGi7ov5Z7yVYty4LRskawtODEJZ8= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=open-mesh.org; s=20121; t=1706785879; h=from : sender : reply-to : subject : date : message-id : to : cc : 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=UxVL7EVSfSD0mDXEs6rTEyJmXsWE9U3oydSKyS2UoTQ=; b=jTTxQZnV/8aE2ssuzuiDxuqKVVflunl1f2OOYlksvvgncykVOejwmLfaDZZuUCMJ2tduM dlMwgFYJhTrziJTqd++8nSl3Z+fSLu7lM764zpKjZOGGbdtnFoj3LD0PA1SuywjHCjGq959 52C2CJUmU4hFGYPa8CYVElC9F1mGvAU= ARC-Authentication-Results: i=2; open-mesh.org; dkim=fail; arc=pass; dmarc=fail (Used From Domain Record) header.from=simonwunderlich.de policy.dmarc=none Authentication-Results: open-mesh.org; dkim=fail; arc=pass; dmarc=fail (Used From Domain Record) header.from=simonwunderlich.de policy.dmarc=none Received: from mail.simonwunderlich.de (mail.simonwunderlich.de [23.88.38.48]) by diktynna.open-mesh.org (Postfix) with ESMTPS id 0311E83478 for ; Thu, 1 Feb 2024 12:08:01 +0100 (CET) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=open-mesh.org; s=20121; t=1706785681; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UxVL7EVSfSD0mDXEs6rTEyJmXsWE9U3oydSKyS2UoTQ=; b=pY7HF83baErltEwUktDFReDOMpAp809tVP/qE444U04bV2dpUnYpn1Bb+lV1oUS+YeRoXo knYht9vHPMttlGNjtUIry0JdkM5G6qY+fU0bRm4XqG6wWXw7dtpObq/lSv97wrVcqvdEfw mhVK5ssjRBOmIxU6liiUwO2xPpf0UDM= ARC-Authentication-Results: i=1; diktynna.open-mesh.org; dkim=none; spf=pass (diktynna.open-mesh.org: domain of sw@simonwunderlich.de designates 23.88.38.48 as permitted sender) smtp.mailfrom=sw@simonwunderlich.de; dmarc=pass (policy=none) header.from=simonwunderlich.de ARC-Seal: i=1; s=20121; d=open-mesh.org; t=1706785681; a=rsa-sha256; cv=none; b=UAR7hIcZg8YFTFUMw2SOq19SzDlIywyX97pEj0bLc4U4Zby3hOhbspCvjyIaHa3If+VROg jet5jE1L6ZUcDLDAaEiYQeA1YQVCDLJLqj8h7BnBhKN+15tdOiAlXNQ42ClXP/GD2i4VFP Q6I4idOu7qQH/l/dhcdetD0CyWTDqv8= Received: from kero.packetmixer.de (p200300c59712C7d8D89318FB9D63B559.dip0.t-ipconnect.de [IPv6:2003:c5:9712:c7d8:d893:18fb:9d63:b559]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.simonwunderlich.de (Postfix) with ESMTPSA id A6904FA9B6; Thu, 1 Feb 2024 12:08:00 +0100 (CET) From: Simon Wunderlich To: kuba@kernel.org, davem@davemloft.net Cc: netdev@vger.kernel.org, b.a.t.m.a.n@lists.open-mesh.org, Sven Eckelmann , Simon Wunderlich Subject: [PATCH 4/4] batman-adv: Drop usage of export.h Date: Thu, 1 Feb 2024 12:07:56 +0100 Message-Id: <20240201110756.29728-5-sw@simonwunderlich.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240201110756.29728-1-sw@simonwunderlich.de> References: <20240201110756.29728-1-sw@simonwunderlich.de> MIME-Version: 1.0 Message-ID-Hash: BGU5OO3ZI274C6YIB6VVGTUVS2B565XI X-Message-ID-Hash: BGU5OO3ZI274C6YIB6VVGTUVS2B565XI X-MailFrom: sw@simonwunderlich.de X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-b.a.t.m.a.n.lists.open-mesh.org-0; header-match-b.a.t.m.a.n.lists.open-mesh.org-1; header-match-b.a.t.m.a.n.lists.open-mesh.org-2; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: The list for a Better Approach To Mobile Ad-hoc Networking Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Sven Eckelmann The linux/export.h include was introduced in commit 9bcb94c8617e ("batman-adv: Introduce missing headers for genetlink restructure") to have access to THIS_MODULE. But with commit 5b20755b7780 ("init: move THIS_MODULE from to "), it was moved and the include for export.h is no longer needed. Signed-off-by: Sven Eckelmann Signed-off-by: Simon Wunderlich --- net/batman-adv/netlink.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/batman-adv/netlink.c b/net/batman-adv/netlink.c index 1f7ed9d4f6fd..0954757f0b8b 100644 --- a/net/batman-adv/netlink.c +++ b/net/batman-adv/netlink.c @@ -15,7 +15,6 @@ #include #include #include -#include #include #include #include