Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp648674pxb; Thu, 21 Oct 2021 06:56:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwomNFDNfNZrYc7+HvmBNKEcLgro0ejLcSNFFO/TGNB7/xIMl3HKLNQCI/uwwPzxnavhKPr X-Received: by 2002:aa7:c489:: with SMTP id m9mr7811139edq.149.1634824588079; Thu, 21 Oct 2021 06:56:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634824588; cv=none; d=google.com; s=arc-20160816; b=uJTMnVl+35qcvWjDxsPS5jgMhMOpteXAa/ukgQwBiyDPUZtJ2uNZyuaZpQUE52k2y8 gwlpcwoSkPFHgeCCLX5PYFWzY/LKxNLItBwu4gxfrEHZIWEPY3owU/XkO+CPPdv2pgvq IcOiGA4Z9X4GJugAsxcBiv0AnptGCE6f1OfqJKg9FaUeQ4o+NiLnJDuHym/EOQMctBIm 5L+Uqs8/yQbR2r61J1p9pXHHzEDrlurhoxZ9rXuwUkucpDcmjFHWSPNBA7OWUWd75BC8 mH4WrUVYO6kliBrDc9gaDPo+dHczHfZVkFzgiH2n960akF1odzgdNM+9ogYZm5gzsgD3 UMgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=gUTX61MIRoyQXMVBi/G03jvMojYGvqxk8XhkNImgrSQ=; b=d/Pf3Eocxji5dAEN/Ebd5JqIt23AaZhCTeGNlggMbfUwifwNw1BQYbRKWa6pegQ23/ aMd9VN50cka487QowFG7hf9XmPDToL3MlLvsTHc4p9TPBgfrCjgVXUo20/iwkCVvp6qF afkDjihcJeGNA1lUABmBqsl5xEgrBOQnACeFIQzV9a8Yv+d8OPLZ7L2e/PdciLfuEyZD xocJClA3JwHmogKwklDHJAnUwUP5qYUcUbzlbic+UXJ91FOaGTZZgBElLJ4TrbMk1RVC ChipjfFAe/dPhzWeWACqf6F4u6cH8JaUb13HrHrh5hedXfelE1uW2L9UgWiLjaR24b3G VwYQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u1si8763723edp.348.2021.10.21.06.56.04; Thu, 21 Oct 2021 06:56:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231452AbhJUN4a (ORCPT + 99 others); Thu, 21 Oct 2021 09:56:30 -0400 Received: from szxga03-in.huawei.com ([45.249.212.189]:26178 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230072AbhJUN43 (ORCPT ); Thu, 21 Oct 2021 09:56:29 -0400 Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.56]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4HZppH3t3lz8tmB; Thu, 21 Oct 2021 21:52:55 +0800 (CST) Received: from dggpeml500006.china.huawei.com (7.185.36.76) by dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.15; Thu, 21 Oct 2021 21:54:11 +0800 Received: from compute.localdomain (10.175.112.70) by dggpeml500006.china.huawei.com (7.185.36.76) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.15; Thu, 21 Oct 2021 21:54:10 +0800 From: Zhang Changzhong To: Robin van der Gracht , Oleksij Rempel , , Oliver Hartkopp , Marc Kleine-Budde , "David S. Miller" , Jakub Kicinski CC: Zhang Changzhong , , , Subject: [PATCH net 0/3] can: j1939: fix some standard conformance problems Date: Thu, 21 Oct 2021 22:04:14 +0800 Message-ID: <1634825057-47915-1-git-send-email-zhangchangzhong@huawei.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.112.70] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpeml500006.china.huawei.com (7.185.36.76) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset fixes 3 standard conformance problems in the j1939 stack. Zhang Changzhong (3): can: j1939: j1939_tp_cmd_recv(): ignore abort message in the BAM transport can: j1939: j1939_can_recv(): ignore messages with invalid source address can: j1939: j1939_tp_cmd_recv(): check the dst address of TP.CM_BAM net/can/j1939/main.c | 4 ++++ net/can/j1939/transport.c | 5 +++++ 2 files changed, 9 insertions(+) -- 2.9.5