Re: [patch net-next] net: devlink: don't ignore errors during dumpit

2019-10-04 Thread David Miller
From: Jiri Pirko Date: Fri, 4 Oct 2019 11:50:12 +0200 > From: Jiri Pirko > > Currently, some dumpit function may end-up with error which is not > -EMSGSIZE and this error is silently ignored. Use does not have clue > that something wrong happened. Instead of silent ignore, propagate > the erro

Re: [patch net-next] net: devlink: don't ignore errors during dumpit

2019-10-04 Thread Jakub Kicinski
On Fri, 4 Oct 2019 11:50:12 +0200, Jiri Pirko wrote: > From: Jiri Pirko > > Currently, some dumpit function may end-up with error which is not > -EMSGSIZE and this error is silently ignored. Use does not have clue > that something wrong happened. Instead of silent ignore, propagate > the error t

Re: [patch net-next] net: devlink: don't ignore errors during dumpit

2019-10-04 Thread Andrew Lunn
On Fri, Oct 04, 2019 at 11:50:12AM +0200, Jiri Pirko wrote: > From: Jiri Pirko > > Currently, some dumpit function may end-up with error which is not > -EMSGSIZE and this error is silently ignored. Use does not have clue > that something wrong happened. Instead of silent ignore, propagate > the e

[patch net-next] net: devlink: don't ignore errors during dumpit

2019-10-04 Thread Jiri Pirko
From: Jiri Pirko Currently, some dumpit function may end-up with error which is not -EMSGSIZE and this error is silently ignored. Use does not have clue that something wrong happened. Instead of silent ignore, propagate the error to user. Suggested-by: Andrew Lunn Signed-off-by: Jiri Pirko ---