From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin KaFai Lau Subject: Re: [PATCH net v2] mlx4: Return EOPNOTSUPP instead of ENOTSUPP Date: Tue, 10 Jan 2017 14:36:45 -0800 Message-ID: <20170110212945.GA83130@kafai-mba.local> References: <1484070109-105991-1-git-send-email-kafai@fb.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: Linux Netdev List , Saeed Mahameed , Tariq Toukan , Kernel Team To: Saeed Mahameed Return-path: Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:43116 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755565AbdAJWg5 (ORCPT ); Tue, 10 Jan 2017 17:36:57 -0500 Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Tue, Jan 10, 2017 at 10:04:55PM +0200, Saeed Mahameed wrote: > On Tue, Jan 10, 2017 at 7:41 PM, Martin KaFai Lau wrote: > > In commit b45f0674b997 ("mlx4: xdp: Allow raising MTU up to one page minus eth and vlan hdrs"), > > it changed EOPNOTSUPP to ENOTSUPP by mistake. This patch fixes it. > > > > Fixes: b45f0674b997 ("mlx4: xdp: Allow raising MTU up to one page minus eth and vlan hdrs") > > Signed-off-by: Martin KaFai Lau > > Acked-by: Saeed Mahameed > > > Thank you martin. > > Small question though, > is it essential for the upper layer to get the correct errno ? or this > is just a cleanup ? Former. probably for the netlink's NLMSG_ERROR also.