diff options
Diffstat (limited to 'net/rds/af_rds.c')
-rw-r--r-- | net/rds/af_rds.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/rds/af_rds.c b/net/rds/af_rds.c index 57ef0ec4f03d..8e3886d353b5 100644 --- a/net/rds/af_rds.c +++ b/net/rds/af_rds.c | |||
@@ -90,6 +90,8 @@ static int rds_release(struct socket *sock) | |||
90 | rds_sock_count--; | 90 | rds_sock_count--; |
91 | spin_unlock_irqrestore(&rds_sock_lock, flags); | 91 | spin_unlock_irqrestore(&rds_sock_lock, flags); |
92 | 92 | ||
93 | rds_trans_put(rs->rs_transport); | ||
94 | |||
93 | sock->sk = NULL; | 95 | sock->sk = NULL; |
94 | sock_put(sk); | 96 | sock_put(sk); |
95 | out: | 97 | out: |