Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1183756imm; Wed, 10 Oct 2018 10:20:53 -0700 (PDT) X-Google-Smtp-Source: ACcGV60RsN9T3yF6b7DOg0bj+Y36KPrkHF9dCFHBrm+hI4FQBYAmWUO6x/2JZ8qWSSyIgIS8A35V X-Received: by 2002:a62:3047:: with SMTP id w68-v6mr11113370pfw.19.1539192053875; Wed, 10 Oct 2018 10:20:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539192053; cv=none; d=google.com; s=arc-20160816; b=L3ILJUiZaWyIGVbMa2A100NSc3j/Nd4xVvbAYpICp2qktspO/tBEqrDNwCSp449sTw 26e+ohPTrghbQIeBpE/9n8oeanPeEMrYvT4mzhUIcDay1aDCkHQTCcZ7W+8oBqizLAc6 8VVgYVoFWr2YWLgU46P4o01mdoJC/4oYogqLwRUa7fXJo3S6pJlWONaC8s+DD9g3RcWF rh8aMvbVVIbx82wjC+5X019DowEKh7eVA+BrdcTntxCy6zTEfrRXRdyFYgKX91Wru8IS YQo7TmRkLBGSB3C/i6oaycG/e0Kj4ieNe8rayl6lDHtQ9KdZQTQg768Fdr8US+5Z0r68 +nOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=63LOHgigRj4s+tLTZRv2RHqzHyLNpB8ELrGtCmcADWQ=; b=0x/ypipRFU6TiJ8+NkutlR3Hq9SvlqY58zx7V2bUiqlhSZeptqHVmfnRmleG3qfy8C x3lINLu+JII64yEN3z5Y9lcN9hOyDPihmZ5Q3EAIKrYuqkz2JSR3q9RU3jxr5jiAzHwY 1rbYOtfsN4ksCduOZogydbI6GzqU9MuglkoUIslcaaTALRxMiE+v0zBzAQTqmROlj0Ka SoeUn890HrrvOKbxgrlMrV8JgnmMVZNiT76hM5DeRLgf2aV1t5GoXzdXxOPH1qAVv1t4 AHURn0uVX1yKVtlkPdTa7MuHleXGjLHUv1CnKg89fQdOxZ8EIsdyT/OueDjGpB2wbbQ+ Gq5Q== ARC-Authentication-Results: i=1; mx.google.com; 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 l129-v6si26080424pga.219.2018.10.10.10.20.39; Wed, 10 Oct 2018 10:20:53 -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; 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 S1726996AbeJKAnR (ORCPT + 99 others); Wed, 10 Oct 2018 20:43:17 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:40144 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726515AbeJKAnR (ORCPT ); Wed, 10 Oct 2018 20:43:17 -0400 Received: from localhost (unknown [IPv6:2601:601:9f00:1c06::4572]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 076161420C75F; Wed, 10 Oct 2018 10:20:10 -0700 (PDT) Date: Wed, 10 Oct 2018 10:20:10 -0700 (PDT) Message-Id: <20181010.102010.49529887594056948.davem@davemloft.net> To: moshe@mellanox.com Cc: jiri@mellanox.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net 0/3] devlink param type string fixes From: David Miller In-Reply-To: <1539176967-22172-1-git-send-email-moshe@mellanox.com> References: <1539176967-22172-1-git-send-email-moshe@mellanox.com> X-Mailer: Mew version 6.7 on Emacs 26 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 10 Oct 2018 10:20:11 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Moshe Shemesh Date: Wed, 10 Oct 2018 16:09:24 +0300 > This patchset fixes devlink param infrastructure for string param type. > > The devlink param infrastructure doesn't handle copying the string data > correctly. The first two patches fix it and the third patch adds helper > function to safely copy string value without exceeding > DEVLINK_PARAM_MAX_STRING_VALUE. Series applied, thank you.