]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Fix the problem of EADDRNOTAVAIL syslog floods on reconnect
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 21 Apr 2009 21:18:20 +0000 (17:18 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 2 May 2009 23:35:08 +0000 (16:35 -0700)
commit992dab797c29bce6c1bb17293b9d1adc1a448e79
treebfd605c079e8a1dd6ad008acc6031441c220c845
parentf30861b34101a56ac188b92c3203ea79a550ead2
SUNRPC: Fix the problem of EADDRNOTAVAIL syslog floods on reconnect

See http://bugzilla.kernel.org/show_bug.cgi?id=13034

If the port gets into a TIME_WAIT state, then we cannot reconnect without
binding to a new port.

Tested-by: Petr Vandrovec <petr@vandrovec.name>
Tested-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/sunrpc/xprt.h
net/sunrpc/xprt.c
net/sunrpc/xprtsock.c