]> err.no Git - linux-2.6/commit
SUNRPC: Fix buggy UDP transmission
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 1 Oct 2007 15:43:37 +0000 (11:43 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 9 Oct 2007 21:20:37 +0000 (17:20 -0400)
commit2199700f1d660494d2552278354422c51becb686
tree38a1b9887a515ed67a0f2495770a6c979937548c
parent58eaab93376cb524fd0f1531a56902d2b3eaa619
SUNRPC: Fix buggy UDP transmission

xs_sendpages() may return a negative result. We sure as hell don't want to
add that to the 'tk_bytes_sent' tally...

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xprtsock.c