From: Ido Shamay Date: Wed, 22 Jul 2015 13:53:49 +0000 (+0300) Subject: net/mlx4_en: Remove BUG_ON assert when checking if ring is full X-Git-Tag: omap-for-v4.3/fixes-merge-window~158^2~34^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62e4c9b4fd3f8fd7d51951f0f10e3f27c58d4037;p=pandora-kernel.git net/mlx4_en: Remove BUG_ON assert when checking if ring is full In mlx4_en_is_ring_empty we check if ring surpassed its size. Since the prod and cons indicators are u32, there might be a state where prod wrapped around and cons, making this assert false, although no actual bug exists (other code segment can cope with this state). Signed-off-by: Ido Shamay Signed-off-by: Eugenia Emantayev Signed-off-by: Or Gerlitz Signed-off-by: David S. Miller --- Reading git-diff-tree failed