]> Pileus Git - ~andy/linux/commit
bql: Fix POSDIFF() to integer overflow aware.
authorHiroaki SHIMODA <shimoda.hiroaki@gmail.com>
Wed, 30 May 2012 12:24:39 +0000 (12:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 May 2012 22:18:16 +0000 (18:18 -0400)
commit0cfd32b736ae0c36b42697584811042726c07cba
tree1e667905d1a668206875db4dc5eeb6d72a7c299d
parent401453a31ea8192eb94f9337f5608de907681bfb
bql: Fix POSDIFF() to integer overflow aware.

POSDIFF() fails to take into account integer overflow case.

Signed-off-by: Hiroaki SHIMODA <shimoda.hiroaki@gmail.com>
Cc: Tom Herbert <therbert@google.com>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Denys Fedoryshchenko <denys@visp.net.lb>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/dynamic_queue_limits.c