All of lore.kernel.org
 help / color / mirror / Atom feed
From: Menyhart Zoltan <Zoltan.Menyhart@bull.net>
To: linux-nfs@vger.kernel.org
Subject: re: [PATCH] SUNRPC: Never reuse the socket port after an xs_close()
Date: Tue, 14 Jun 2011 13:05:14 +0200	[thread overview]
Message-ID: <4DF7406A.7040704@bull.net> (raw)

Hi,

I have applied the patch for a 2.6.32, and dispite this patch the client reuses the port number on reconnect:

   1 09:38:58.513579  DLL.Q.UJ.RS -> DLL.Q.SCO.SUH TCP ideafarm-door > nfs [SYN] Seq=0 Win=5840 Len=0 MSS=1460 WS=8
   2 09:38:58.513655 DLL.Q.SCO.SUH -> DLL.Q.UJ.RS  TCP nfs > ideafarm-door [SYN, ACK] Seq=0 Ack=1 Win=64240 Len=0 MSS=1460 WS=2
   3 09:38:58.513687  DLL.Q.UJ.RS -> DLL.Q.SCO.SUH TCP ideafarm-door > nfs [ACK] Seq=1 Ack=1 Win=5888 Len=0
   4 09:38:58.513708  DLL.Q.UJ.RS -> DLL.Q.SCO.SUH TCP ideafarm-door > nfs [FIN, ACK] Seq=1 Ack=1 Win=5888 Len=0
   5 09:38:58.513763 DLL.Q.SCO.SUH -> DLL.Q.UJ.RS  TCP [TCP Window Update] nfs > ideafarm-door [ACK] Seq=1 Ack=1 Win=262140 Len=0
   6 09:38:58.513779 DLL.Q.SCO.SUH -> DLL.Q.UJ.RS  TCP nfs > ideafarm-door [ACK] Seq=1 Ack=2 Win=262140 Len=0
   7 09:38:59.262101 DLL.Q.SCO.SUH -> DLL.Q.UJ.RS  TCP nfs > ideafarm-door [FIN, ACK] Seq=1 Ack=2 Win=262140 Len=0
   8 09:38:59.262116  DLL.Q.UJ.RS -> DLL.Q.SCO.SUH TCP ideafarm-door > nfs [ACK] Seq=2 Ack=2 Win=5888 Len=0

   9 09:40:32.253796  DLL.Q.UJ.RS -> DLL.Q.SCO.SUH TCP [TCP Port numbers reused] ideafarm-door > nfs [SYN] Seq=0 Win=5840 Len=0 MSS=1460 WS=8
  10 09:40:32.253926 DLL.Q.SCO.SUH -> DLL.Q.UJ.RS  TCP nfs > ideafarm-door [SYN, ACK] Seq=0 Ack=1 Win=64240 Len=0 MSS=1460 WS=2
  11 09:40:32.253959  DLL.Q.UJ.RS -> DLL.Q.SCO.SUH TCP ideafarm-door > nfs [ACK] Seq=1 Ack=1 Win=5888 Len=0
  12 09:40:32.253992  DLL.Q.UJ.RS -> DLL.Q.SCO.SUH TCP ideafarm-door > nfs [FIN, ACK] Seq=1 Ack=1 Win=5888 Len=0
  13 09:40:32.254047 DLL.Q.SCO.SUH -> DLL.Q.UJ.RS  TCP [TCP Window Update] nfs > ideafarm-door [ACK] Seq=1 Ack=1 Win=262140 Len=0
  14 09:40:32.254063 DLL.Q.SCO.SUH -> DLL.Q.UJ.RS  TCP nfs > ideafarm-door [ACK] Seq=1 Ack=2 Win=262140 Len=0
  15 09:40:32.254639 DLL.Q.SCO.SUH -> DLL.Q.UJ.RS  TCP nfs > ideafarm-door [FIN, ACK] Seq=1 Ack=2 Win=262140 Len=0
  16 09:40:32.254654  DLL.Q.UJ.RS -> DLL.Q.SCO.SUH TCP ideafarm-door > nfs [ACK] Seq=2 Ack=2 Win=5888 Len=0

What else should be patched?

Thanks in advance,

Zoltan Menyhart


                 reply	other threads:[~2011-06-14 11:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DF7406A.7040704@bull.net \
    --to=zoltan.menyhart@bull.net \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.