Message ID | 20200317232734.6127-8-sven@narfation.org |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=f8y2=5C=vger.kernel.org=stable-owner@kernel.org> 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=-9.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,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 A97ACC1975A for <stable@archiver.kernel.org>; Tue, 17 Mar 2020 23:27:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7334220738 for <stable@archiver.kernel.org>; Tue, 17 Mar 2020 23:27:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=narfation.org header.i=@narfation.org header.b="riTCNlAp" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726721AbgCQX1u (ORCPT <rfc822;stable@archiver.kernel.org>); Tue, 17 Mar 2020 19:27:50 -0400 Received: from dvalin.narfation.org ([213.160.73.56]:53484 "EHLO dvalin.narfation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726934AbgCQX1t (ORCPT <rfc822;stable@vger.kernel.org>); Tue, 17 Mar 2020 19:27:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=narfation.org; s=20121; t=1584487668; 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=F16T6wNGFJ5djV/xDhXdd3tfSyiNYBaPFrCvnq73EY0=; b=riTCNlApdWawzo42Ffnd0T9Fdl10Gsf3wlbERCK/DNpfjsLtsqa7QKMhBTbYkdoHr+DZiQ jCp/+CRtSAWGyig3YGG79GhBiLGEk52v2MhqQRxGxYs4z9Ix6sEWDpgbnB+vAoN70JH3zM EqkVYw3ZxW/weO+L9R07BHcifAga6E0= From: Sven Eckelmann <sven@narfation.org> To: stable@vger.kernel.org Cc: Marek Lindner <mareklindner@neomailbox.ch>, Sven Eckelmann <sven@narfation.org>, Antonio Quartulli <a@unstable.cc> Subject: [PATCH 4.4 07/48] batman-adv: init neigh node last seen field Date: Wed, 18 Mar 2020 00:26:53 +0100 Message-Id: <20200317232734.6127-8-sven@narfation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200317232734.6127-1-sven@narfation.org> References: <20200317232734.6127-1-sven@narfation.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
batman-adv: Pending fixes
|
expand
|
diff --git a/net/batman-adv/originator.c b/net/batman-adv/originator.c index 6282f021ddfb..19b4b91b19ff 100644 --- a/net/batman-adv/originator.c +++ b/net/batman-adv/originator.c @@ -483,6 +483,7 @@ batadv_neigh_node_new(struct batadv_orig_node *orig_node, ether_addr_copy(neigh_node->addr, neigh_addr); neigh_node->if_incoming = hard_iface; neigh_node->orig_node = orig_node; + neigh_node->last_seen = jiffies; /* extra reference for return */ atomic_set(&neigh_node->refcount, 2);