From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9C4CBC4741F for ; Tue, 29 Sep 2020 11:52:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 49515206DB for ; Tue, 29 Sep 2020 11:52:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601380360; bh=/MYqESftCHDCnakZ5FcVDHo7XfhqDQD52Vtw4DqJVx4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=tfEtmj5BVjTo6r1BMbUu5ovPfUze1SqS0pcrUt4NAWJjcSKCNPgecxEnbAP76sISC XH9nbHip/6FREF6Q4WB8I9RblPiT7pe8y/4eGDhsxZ2Twlf9JkX8bwYG0H6WK0YbWF Cgao5zZ8mNGLR94bZRZH4Q18AdP1R1GGBdITaod0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731385AbgI2Lwi (ORCPT ); Tue, 29 Sep 2020 07:52:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:49226 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730732AbgI2Lre (ORCPT ); Tue, 29 Sep 2020 07:47:34 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4B428206E5; Tue, 29 Sep 2020 11:47:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601380053; bh=/MYqESftCHDCnakZ5FcVDHo7XfhqDQD52Vtw4DqJVx4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=y69JauOhdYGwZsOoRRyTSHQHF/nqnxM7c2pLgN5lbtuky8Q6GaOT/XpvvXvmo8NqX /TjJAdqmMJfOZdc6Fb3DOQUUoWzjyxGMefemp+W07Un7WH+sVKd6LlEwYBx8QomLQQ kB3hIsx1LWhth7n1C8y7Yk1/pUoB5uTbGn19JaF4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sven Eckelmann , Simon Wunderlich , Sasha Levin Subject: [PATCH 5.8 46/99] batman-adv: Add missing include for in_interrupt() Date: Tue, 29 Sep 2020 13:01:29 +0200 Message-Id: <20200929105931.993364209@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200929105929.719230296@linuxfoundation.org> References: <20200929105929.719230296@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sven Eckelmann [ Upstream commit 4bba9dab86b6ac15ca560ef1f2b5aa4529cbf784 ] The fix for receiving (internally generated) bla packets outside the interrupt context introduced the usage of in_interrupt(). But this functionality is only defined in linux/preempt.h which was not included with the same patch. Fixes: 279e89b2281a ("batman-adv: bla: use netif_rx_ni when not in interrupt context") Signed-off-by: Sven Eckelmann Signed-off-by: Simon Wunderlich Signed-off-by: Sasha Levin --- net/batman-adv/bridge_loop_avoidance.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/batman-adv/bridge_loop_avoidance.c b/net/batman-adv/bridge_loop_avoidance.c index e8e86e52d461a..f8c8c38e258a1 100644 --- a/net/batman-adv/bridge_loop_avoidance.c +++ b/net/batman-adv/bridge_loop_avoidance.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include -- 2.25.1