]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
SUNRPC: Free address buffers in a loop
authorChuck Lever <chuck.lever@oracle.com>
Mon, 6 Aug 2007 15:56:57 +0000 (11:56 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 9 Oct 2007 21:15:49 +0000 (17:15 -0400)
commit0c43b3d81cca46ab2469f8802f8bd68b49f1b2a5
treeb8233aba6352474e8e440a6228e97875aa2e7728
parentbda243df2f5beebce92bae22bc01960544783984
SUNRPC: Free address buffers in a loop

Use more generic logic to free buffers holding formatted addresses.  This
makes it less likely a bug will be introduced when adding additional buffer
types in xs_format_peer_address().

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xprtsock.c