From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [iproute PATCH] rdma: Fix for ineffective check in add_filter() Date: Mon, 22 Oct 2018 10:06:21 -0700 Message-ID: <20181022100621.2a999580@xeon-e3> References: <20181018114154.8886-1-phil@nwl.cc> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, Arkadi Sharshevsky To: Phil Sutter Return-path: Received: from mail-pl1-f194.google.com ([209.85.214.194]:36978 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727218AbeJWBZn (ORCPT ); Mon, 22 Oct 2018 21:25:43 -0400 Received: by mail-pl1-f194.google.com with SMTP id bh10-v6so5974088plb.4 for ; Mon, 22 Oct 2018 10:06:24 -0700 (PDT) In-Reply-To: <20181018114154.8886-1-phil@nwl.cc> Sender: netdev-owner@vger.kernel.org List-ID: On Thu, 18 Oct 2018 13:41:54 +0200 Phil Sutter wrote: > With 'name' field defined as array in struct filters, it will always > contain a value irrespective of whether a name was assigned or not. > > Fix this by turning the field into a const char pointer. > > Fixes: 8cd644095842a ("devlink: Add support for devlink resource abstraction") > Signed-off-by: Phil Sutter Applied, and fixed fixes