RDS: fix rds_sock reference bug while doing bind
authorSantosh Shilimkar <santosh.shilimkar@oracle.com>
Fri, 3 Feb 2012 16:08:50 +0000 (11:08 -0500)
committerSantosh Shilimkar <ssantosh@kernel.org>
Wed, 30 Sep 2015 16:43:25 +0000 (12:43 -0400)
commit28126959882d3ec4745f2ec800f3a1d74368b2fe
tree54ac2d73bb2c97e5cb65afe2b2429bc0f1eeec52
parent8b0a6b461e2ccc95363e0547aa4f43ba2e02b096
RDS: fix rds_sock reference bug while doing bind

One need to take rds socket reference while using it and release it
once done with it. rds_add_bind() code path does not do that so
lets fix it.

Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
net/rds/bind.c