]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDS/IB: Quiet warnings when leaking frags
authorAndy Grover <andy.grover@oracle.com>
Tue, 7 Sep 2010 17:59:44 +0000 (10:59 -0700)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 7 Jul 2015 23:41:27 +0000 (16:41 -0700)
commit4ac0d047bc679d065485526288668e71bc28a33c
treee1ef4ee6e3953731816ed982f5554694beb26781
parentce1a94ac9a9763bb0d9820d2f726c6e62e0d576c
RDS/IB: Quiet warnings when leaking frags

We have a race where sometimes we leak frags, and it hits
the WARN_ON. Unfortunately, the stream of WARN_ONs make
the machine unusable. This patch changes to WARN_ON_ONCE
so we do not hose the box, and we can still get notifications
the bug has occurred.

Signed-off-by: Andy Grover <andy.grover@oracle.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Signed-off-by: Bang Nguyen <bang.nguyen@oracle.com>
net/rds/ib_recv.c