Re: [patch net] devlink: Compare to size_new in case of resource child validation

2018-02-27 Thread David Miller
From: Jiri Pirko Date: Mon, 26 Feb 2018 10:59:53 +0100 > From: Arkadi Sharshevsky > > The current implementation checks the combined size of the children with > the 'size' of the parent. The correct behavior is to check the combined > size vs the pending

[patch net] devlink: Compare to size_new in case of resource child validation

2018-02-26 Thread Jiri Pirko
From: Arkadi Sharshevsky The current implementation checks the combined size of the children with the 'size' of the parent. The correct behavior is to check the combined size vs the pending change and to compare vs the 'size_new'. Fixes: d9f9b9a4d05f ("devlink: Add support