Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp867613imm; Wed, 4 Jul 2018 07:20:54 -0700 (PDT) X-Google-Smtp-Source: AAOMgpef8i5ykcF1/O1iBgQjaTjj1BHzhvyTBLdnU4JAznMdrJ1bz3GV7jZtjyfBlUsd6LOJzF78 X-Received: by 2002:a63:416:: with SMTP id 22-v6mr2113038pge.229.1530714054184; Wed, 04 Jul 2018 07:20:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530714054; cv=none; d=google.com; s=arc-20160816; b=kGTrV7FPJBvnEc0tpXqvmThB7M5gpAUZRYj7Sn3idXP9hEe8Of8m4eBcpuAXZzVfom ZxPfXrWzq1OgAVJKlLPbrhXWEIb4/krE4fMtF6KmWhxxwmQ+jsOxZw3lKLO4P5k/fguv rfCbJQHsVLcktlun4Yn+42jZ9xHWR41FORkwxY1cuLZdWbzYBSZHW3543SZTpyNmVWFd 3nkxUm9XmSS+kieafuNWRzohdcwEqp0SAFeZKU1jZxIg42zP5lQUi0cVcn8FI904Wy8W +8ETmgHqkfZ9iFxK8MqEorLCRk3939h2fzsa6SuZv9zf4eDn2tk6KstWgcz4gf4tVc7S TVGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=t2fCW6Ixz2/UVxX1Pxb/51fxV/vyszusbT/DY51/9Gs=; b=UxMoJhnGXkBckYK6RbziScQ6NUCNDP40vEE+UXka7sbu/EG29+coFni/j3ZKzxleq1 VqY4H/7UrWeJ3dxAPz3Z8VLTu9s8bhw2oDpUosZs7O/PuvDLTqn9rdqS8crNDrARo821 fLrJDiPCl5geTTQG/VyWVBzvn6MvYTi1KxwumsZwoj0yV1BSJXD6lJiESaElNs8Hef25 dCzsnfCGixu/kkulQtPsBET/n3Ek7376OKceAhDvc5o0BVWJr3lwtuZASkfrWTePxlNV wVHdI6snyVhJ0/rBg8HISq9dsywwi/f+MbtaoXGMyhMOkd9GDXHrFcoaTYu+JfLwEXJl Tw5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=PQC8oJ9x; dkim=pass header.i=@codeaurora.org header.s=default header.b=PQC8oJ9x; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n6-v6si3546664pgt.268.2018.07.04.07.20.39; Wed, 04 Jul 2018 07:20:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=PQC8oJ9x; dkim=pass header.i=@codeaurora.org header.s=default header.b=PQC8oJ9x; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752582AbeGDOUB (ORCPT + 99 others); Wed, 4 Jul 2018 10:20:01 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:58378 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751407AbeGDOT7 (ORCPT ); Wed, 4 Jul 2018 10:19:59 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 4F03860B24; Wed, 4 Jul 2018 14:19:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1530713999; bh=6eCQGCIEVidHmMUNSNe81rp8Yv21ARXxVD1M3lCUosM=; h=From:To:Cc:Subject:Date:From; b=PQC8oJ9xO30IujenAjkUw12RnYmMeWyOAkxXvuHXJDog0rYvpSD8n7p5RABSB2w+e 5kajgkVuACmJQQ17YymV+pBPAYHmT8LnCtpIPzjhqfwqrxj1mgXDxzxEz2J8gFLe3l JYwKB1r+q2qNIY/gI9/p0n1n9QcxrYZkkMv1TQ0A= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from aneelaka-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: aneela@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 1803C6037C; Wed, 4 Jul 2018 14:19:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1530713999; bh=6eCQGCIEVidHmMUNSNe81rp8Yv21ARXxVD1M3lCUosM=; h=From:To:Cc:Subject:Date:From; b=PQC8oJ9xO30IujenAjkUw12RnYmMeWyOAkxXvuHXJDog0rYvpSD8n7p5RABSB2w+e 5kajgkVuACmJQQ17YymV+pBPAYHmT8LnCtpIPzjhqfwqrxj1mgXDxzxEz2J8gFLe3l JYwKB1r+q2qNIY/gI9/p0n1n9QcxrYZkkMv1TQ0A= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 1803C6037C Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=aneela@codeaurora.org From: Arun Kumar Neelakantam To: davem@davemloft.net, bjorn.andersson@linaro.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Arun Kumar Neelakantam Subject: [PATCH 0/2] net: qrtr: Broadcasting control messages Date: Wed, 4 Jul 2018 19:49:31 +0530 Message-Id: <1530713973-26696-1-git-send-email-aneela@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Allow messages only from control port to broadcast to avoid unnecessary messages and reset the node to local router NODE ID in control messages otherwise remote routers consider the packets as invalid and Drops it. Arun Kumar Neelakantam (2): net: qrtr: Broadcast messages only from control port net: qrtr: Reset the node and port ID of broadcast messages net/qrtr/qrtr.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project