From patchwork Fri Sep 30 13:21:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 16712 X-Patchwork-Delegate: sw@simonwunderlich.de Return-Path: X-Original-To: patchwork@open-mesh.org Delivered-To: patchwork@open-mesh.org Received: from open-mesh.org (localhost [IPv6:::1]) by open-mesh.org (Postfix) with ESMTP id 269C482FAF; Fri, 30 Sep 2016 15:21:27 +0200 (CEST) Authentication-Results: open-mesh.org; dmarc=none header.from=open-mesh.com Authentication-Results: open-mesh.org; dkim=fail reason="verification failed; unprotected key" header.d=open-mesh-com.20150623.gappssmtp.com header.i=@open-mesh-com.20150623.gappssmtp.com header.b=ckru0FYE; dkim-adsp=none (unprotected policy); dkim-atps=neutral Received-SPF: Neutral (access neither permitted nor denied) identity=mailfrom; client-ip=2a00:1450:400c:c09::22c; helo=mail-wm0-x22c.google.com; envelope-from=sven.eckelmann@open-mesh.com; receiver=b.a.t.m.a.n@lists.open-mesh.org Authentication-Results: open-mesh.org; dmarc=none header.from=open-mesh.com Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) by open-mesh.org (Postfix) with ESMTPS id D6D9282FAF for ; Fri, 30 Sep 2016 15:21:13 +0200 (CEST) Received: by mail-wm0-x22c.google.com with SMTP id b4so47172357wmb.0 for ; Fri, 30 Sep 2016 06:21:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=open-mesh-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=WDPYyq267QOeQ6HRIz1e0Hu3ruk6phZXb85YD3jbZes=; b=ckru0FYEe965R+bTzhZVF+8M11Oo6qikVb7nWHEDtT1W0D9AVQvJZ1zFC5CsSPCF1z O5Rr46UOpOnXNOp1KF0IlRR5JMeYqJH+V3ub8/HiiIOoXohSpQlGJJrmTyxr8VrLEnrt E5SJK5BXrJQ8NFO3d6Fa4i4+nasdF79Te+2buSZxjIqzC1pnlOawWfZXSBBHwxy8bU+t Z+O81YECm2g2nAEOJ8KNttuUmFjvEnSeppkxvhDqnqmA2kNTrtLC09fmwbms0Fnt381f g1BWIcP20bYRkR4UWeByuDBGvbwo6e0SlQJa6aMNxurLG1dI0K3cPh0onpf7Qi7AW68L I1QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=WDPYyq267QOeQ6HRIz1e0Hu3ruk6phZXb85YD3jbZes=; b=gSpz8/xBrGaD3Ko/NtGdcKf0YJiVhPmci3oWszujBMtPO3d3InhRLyi4rXT8uWUQ6i SLWQsjVjW25ypgOw5Xn7ByIZpRcGiz60WTfqWuVMVk46UrV2srhlb4H7o5OhvSB015hG tgEvn01YrwLkoTJSsX3WeKOw1PIbG6tw3dYUFrsu4XyFFQwX+oxzK0EeKtjozevEa6+i x82hvTDE8od/zcqmKlHfdmRjPwVSgQ4T+zGQEhJof7o5ce+RKRVfLGQCnv/n9May4v5h i/cAdr3d1LN12EiW38x5OcScvNwVnJnx1tJBJ+d3jbwEb4hC+sYB/rCS8Klu8GeYKT8j nHQg== X-Gm-Message-State: AA6/9RnADpDtKO3yM6eghJ+1fN+SuMhz+3yArwZcWyuU0iAxMH1lCGhTsx7CZ5s5iDUcGSEa X-Received: by 10.194.111.229 with SMTP id il5mr6402106wjb.153.1475241673226; Fri, 30 Sep 2016 06:21:13 -0700 (PDT) Received: from sven-desktop.home.narfation.org ([2003:7c:6f50:97fe:cb62:b774:4c7c:7c8d]) by smtp.gmail.com with ESMTPSA id n7sm4135556wmf.18.2016.09.30.06.21.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 30 Sep 2016 06:21:12 -0700 (PDT) From: Sven Eckelmann To: b.a.t.m.a.n@lists.open-mesh.org Date: Fri, 30 Sep 2016 15:21:01 +0200 Message-Id: <20160930132106.5798-2-sven.eckelmann@open-mesh.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <2666783.nl87Kib46y@bentobox> References: <2666783.nl87Kib46y@bentobox> Cc: Sven Eckelmann Subject: [B.A.T.M.A.N.] [PATCH v2 2/7] batman-adv: Close two alignment holes in batadv_hard_iface X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking Errors-To: b.a.t.m.a.n-bounces@lists.open-mesh.org Sender: "B.A.T.M.A.N" Signed-off-by: Sven Eckelmann --- v2: - new patch --- net/batman-adv/types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/batman-adv/types.h b/net/batman-adv/types.h index b3dd1a3..8eef6a3 100644 --- a/net/batman-adv/types.h +++ b/net/batman-adv/types.h @@ -123,8 +123,8 @@ struct batadv_hard_iface_bat_v { * @list: list node for batadv_hardif_list * @if_num: identificator of the interface * @if_status: status of the interface for batman-adv - * @net_dev: pointer to the net_device * @num_bcasts: number of payload re-broadcasts on this interface (ARQ) + * @net_dev: pointer to the net_device * @hardif_obj: kobject of the per interface sysfs "mesh" directory * @refcount: number of contexts the object is used * @batman_adv_ptype: packet type describing packets that should be processed by @@ -141,8 +141,8 @@ struct batadv_hard_iface { struct list_head list; s16 if_num; char if_status; - struct net_device *net_dev; u8 num_bcasts; + struct net_device *net_dev; struct kobject *hardif_obj; struct kref refcount; struct packet_type batman_adv_ptype;