diff options
author | Ido Shamay <idos@mellanox.com> | 2015-07-22 16:53:49 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-26 16:29:26 -0700 |
commit | 62e4c9b4fd3f8fd7d51951f0f10e3f27c58d4037 (patch) | |
tree | f207e6c0cacee520294a871112b886e0bb9410d4 /net/sctp/socket.c | |
parent | 9f5b031770b9108b57881c83dffc02cd90ec3961 (diff) |
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 <idos@mellanox.com>
Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/socket.c')
0 files changed, 0 insertions, 0 deletions