Bug 358 - calling listen on non-closed TCP sockets sends resets, should fail and do nothing
: calling listen on non-closed TCP sockets sends resets, should fail and do not...
Status: RESOLVED FIXED
: ns-3
internet-stack
: ns-3-dev
: All All
: P1 normal
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2008-09-19 14:18 EDT by
Modified: 2008-12-02 00:38 EDT (History)


Attachments
align listen behavior with linux (534 bytes, patch)
2008-11-06 15:48 EDT, Rajib Bhattacharjea
Details | Diff


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-09-19 14:18:55 EDT
Linux's inet_listen returns EINVAL when you call listen on a socket in any
state other than SS_UNCONNECTED.  The GTNetS port always succeeds on calling
listen, and usually sends a reset, or does nothing in response in just a few
cases.  It should fail with ns-3's ERROR_INVAL and NOT send resets.
------- Comment #1 From 2008-11-06 15:48:22 EDT -------
Created an attachment (id=290) [details]
align listen behavior with linux
------- Comment #2 From 2008-11-26 04:33:41 EDT -------
is there a reason why this patch is not applied yet ?
------- Comment #3 From 2008-12-01 10:48:12 EDT -------
This is ready to commit, reassigning to release manager for application.
------- Comment #4 From 2008-12-02 00:38:06 EDT -------
changeset b2f4788d3db7