From: Eli Cohen Date: Tue, 2 Dec 2014 10:26:19 +0000 (+0200) Subject: mlx5: Fix error flow in add_keys X-Git-Tag: omap-for-v3.20/drop-legacy-3517~122^2~85^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d14e71103bf61ed6c3de542f1752b6ce039b773d;p=pandora-kernel.git mlx5: Fix error flow in add_keys If mlx5_core_create_mkey fails, decrease the pending counter to undo the previous increment. Signed-off-by: Eli Cohen Signed-off-by: David S. Miller --- Reading git-diff-tree failed