[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200514.173656.904859689209825339.davem@davemloft.net>
Date: Thu, 14 May 2020 17:36:56 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: kuba@...nel.org
Cc: jiri@...nulli.us, jacob.e.keller@...el.com, netdev@...r.kernel.org,
kernel-team@...com
Subject: Re: [PATCH net-next] devlink: refactor end checks in
devlink_nl_cmd_region_read_dumpit
From: Jakub Kicinski <kuba@...nel.org>
Date: Wed, 13 May 2020 10:28:22 -0700
> Clean up after recent fixes, move address calculations
> around and change the variable init, so that we can have
> just one start_offset == end_offset check.
>
> Make the check a little stricter to preserve the -EINVAL
> error if requested start offset is larger than the region
> itself.
>
> Signed-off-by: Jakub Kicinski <kuba@...nel.org>
Applied, thanks.
Powered by blists - more mailing lists