]> bbs.cooldavid.org Git - net-next-2.6.git/commit
RDS: Fix BUG_ONs to not fire when in a tasklet
authorAndy Grover <andy.grover@oracle.com>
Sat, 13 Mar 2010 00:22:32 +0000 (16:22 -0800)
committerAndy Grover <andy.grover@oracle.com>
Thu, 9 Sep 2010 01:07:31 +0000 (18:07 -0700)
commit9e2effba2c16fc3bd47da605116485afe01e0be0
treea423d21a3abee4a5979ce13f7627d81e558c32ed
parentdb40980fcdb560d7992b0511df16cdd3f7e381f3
RDS: Fix BUG_ONs to not fire when in a tasklet

in_interrupt() is true in softirqs. The BUG_ONs are supposed
to check for if irqs are disabled, so we should use
BUG_ON(irqs_disabled()) instead, duh.

Signed-off-by: Andy Grover <andy.grover@oracle.com>
net/rds/ib_rdma.c
net/rds/rdma.c