From: Himanshu Madhani Date: Mon, 16 Dec 2013 20:36:58 +0000 (-0500) Subject: qlcnic: Fix TSS/RSS ring validation logic. X-Git-Tag: v3.13-rc5~30^2~1^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9566265d7b44fea789072dcfa9a454e7e433af6;p=pandora-kernel.git qlcnic: Fix TSS/RSS ring validation logic. o TSS/RSS ring validation does not take into account that either of these ring values can be 0. This patch fixes this validation and would fail set_channel operation if any of these ring value is 0. This regression was added as part of commit id 34e8c406fda5b5a9d2e126a92bab84cd28e3b5fa ("qlcnic: refactor Tx/SDS ring calculation and validation in driver.") Signed-off-by: Himanshu Madhani Signed-off-by: David S. Miller --- Reading git-diff-tree failed