]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDS: add debuging code around sock_hold and sock_put.
authorChris Mason <chris.mason@oracle.com>
Fri, 3 Feb 2012 16:09:07 +0000 (11:09 -0500)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 7 Jul 2015 23:41:32 +0000 (16:41 -0700)
commit7aaa90df89170bc4a64f67953a908016b45e36cc
treedffa83ccc415795d47be86ad05e83000e2982e2e
parent930b6e289b63ca5fed825c63281fc354e72633ce
RDS: add debuging code around sock_hold and sock_put.

RDS had a recent series of memory corruptions because of
a use-after-free and double-free of rds sockets.  This adds
some debugging code around sock_put and sock_hold to
catch any similar bugs and spit out useful debugging info.

This is a temporary commit while customers try out our fix.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
Signed-off-by: Bang Nguyen <bang.nguyen@oracle.com>
net/rds/af_rds.c
net/rds/rds.h
net/rds/send.c