diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2011-11-10 12:33:23 +0100 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-11-10 20:50:07 +0100 |
commit | 2aa13531bbbc6582874bedfcd853e1058b0fb4f9 (patch) | |
tree | 6dc0ad696b49bdf6f68382900775a19fb289bf25 /fs/nfs/pnfs.c | |
parent | NFS: Fix a regression in the referral code (diff) | |
download | linux-2aa13531bbbc6582874bedfcd853e1058b0fb4f9.tar.xz linux-2aa13531bbbc6582874bedfcd853e1058b0fb4f9.zip |
SUNRPC: destroy freshly allocated transport in case of sockaddr init error
Otherwise we will leak xprt structure and struct net reference.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/pnfs.c')
0 files changed, 0 insertions, 0 deletions