-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
conn: avoid duplicate binding #4387
Comments
Since most stacks (except GNRC) already provide this functionality (which lead to problems in lwIP tests with |
But binding a port to different addresses on the same host is valid behaviour. |
Ah, you're right. |
Nevertheless, I think it could be okay for gnrc not to support this. |
Especially, since acceptance based on an (addr, port) pair is not something GNRC supports (GNRC lazy-ORs those two, not ANDs them) |
Lazy-ORing is not the right word, but I guess you know what I mean. |
It checks if the packets destination is on an interface and it checks if the packets destination port has a subscriber, but it does not check if the subscriber is bound to both on the same time. |
Yepp, in that case I would be fine with the proposed solution. |
#5091 was already moved to the next release so let's move this one too. |
Did you put it into the known issue list? (I always prefer to keep issues tagged for the release until they're listed as a known issue in the release notes - if applicable.) |
Aren't any issues that aren't solved for the release known issues? |
Also, I'm still unsure if this is really a bug and not a feature ;-) |
Yes, but you need to track them somehow. |
Exactly this is why I like to keep them tagged for the release until they're noted down in the release notes. |
Tagged as what? |
"Release 2016.04" in this case |
Yes, but what does it mean compared to "Known Issue" (aka issue not solved at release time)? |
It's just much easier to list them. |
I still don't get, why the search for "All issues, except the ones for Milestone 'Release 2016.04'" isn't exactly the list of known issues and why we have to specially mark them (with the milestone for the release no less). |
Usually it should be the other way around: all issues for the Milestone "Release 2016.04" is the list of known issues. |
But where go the other issues then? |
If it's not tagged for the release, it's not relevant to be listed as a known issue (e.g. a feature request). |
I think this way some known issues get lost... You can also exclude labels in the search. |
Some known issues for 2015.12 are still marked with the milestone for that release (or even unmarked). |
But if this is your workflow, I won't criticize it more. Re-tagged it for this release. |
But open issues from one release should all get re-tagged... |
Once they were noted down in the release notes, they can be re-tagged AFAIU. |
They can, but some aren't (just click on the known issues in the last release and see) |
That's because human do err. Old issues should be verified for the current
|
yeah, but as far as I can see there are also old issues never mentioned in "known issues" (need to recheck). |
Maybe we should go back to a "RIOT next" milestone. Everything postponed gets retagged there. Everything that must be fixed can be tagged with a current release milestone. No release with open issues. ... that way we don't get stale issues... |
retaggt to 2016.07, I will worry about collecting it for the open issue list... |
any news? |
See #5091... |
There's no milestone for #5091, so I'll postpone this one. |
Fixed in #5772. |
conn
doesn't check if an address-port tuple is already used ("bound" in POSIX terminology) by another thread. One way to do so, would be by storing pointers to all createdconn
structs and iterate over this list on creation. A potential problem here is that the "owner" of this struct might free it without tellingconn
, i.e. callingclose()
.The text was updated successfully, but these errors were encountered: