Skip to content

Conversation

@jukkar
Copy link
Member

@jukkar jukkar commented Sep 13, 2017

If IPv6 is disabled, then it is useless to try to resolve
IPv6 address because "struct sockaddr" does not have enough
space to store IPv6 address.

Fixes #1487

Signed-off-by: Jukka Rissanen jukka.rissanen@linux.intel.com

@jukkar jukkar added the net label Sep 13, 2017
@jukkar jukkar self-assigned this Sep 13, 2017
@jukkar jukkar requested a review from pfalcon September 13, 2017 19:15
@jukkar jukkar requested a review from tbursztyka as a code owner September 13, 2017 19:15
@ghost ghost added the In progress For PRs: is work in progress and should not be merged yet. For issues: Is being worked on label Sep 13, 2017
andyross
andyross previously approved these changes Sep 13, 2017
pfalcon
pfalcon previously approved these changes Sep 13, 2017
Copy link
Contributor

@pfalcon pfalcon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

If IPv6 is disabled, then it is useless to try to resolve
IPv6 address because "struct sockaddr" does not have enough
space to store IPv6 address.

Fixes zephyrproject-rtos#1487

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
@jukkar
Copy link
Member Author

jukkar commented Sep 14, 2017

Sent a new version as I forgot to add a new conf file to the PR. I should probably avoid fixing bugs too late in the evening.

@lpereira
Copy link
Member

This should get to 1.9.1.

@lpereira lpereira added this to the v1.9.1 milestone Sep 14, 2017
@jukkar
Copy link
Member Author

jukkar commented Sep 18, 2017

This should get to 1.9.1.

I would like to see this merged in master first. How are we handling the 1.9.1 patches, is Anas picking this patch to 1.9.1?

@pfalcon
Copy link
Contributor

pfalcon commented Sep 18, 2017

This should get to 1.9.1.

Hmm, I don't think this patch fixes a too serious issue, more like a niche one. (I'm actually surprised (and appreciate) that @jukkar went to fix it so quickly.)

@jukkar jukkar merged commit 43aa12f into zephyrproject-rtos:master Sep 20, 2017
@ghost ghost removed the In progress For PRs: is work in progress and should not be merged yet. For issues: Is being worked on label Sep 20, 2017
@jukkar jukkar deleted the bug-1487 branch October 13, 2017 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

net/lib/dns doesn't respect CONFIG_NET_IPV6=n

4 participants