Page MenuHomeFreeBSD

netgraph/ksocket tests: Bind to IN6ADDR_LOOPBACK
AbandonedPublic

Authored by emaste on Mon, Feb 2, 7:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Feb 3, 8:21 PM
Unknown Object (File)
Tue, Feb 3, 2:25 PM
Unknown Object (File)
Tue, Feb 3, 12:44 PM
Unknown Object (File)
Tue, Feb 3, 11:56 AM
Unknown Object (File)
Tue, Feb 3, 11:49 AM
Unknown Object (File)
Tue, Feb 3, 7:06 AM
Unknown Object (File)
Tue, Feb 3, 6:28 AM
Unknown Object (File)
Tue, Feb 3, 6:27 AM

Details

Reviewers
zlei
markj
Summary
We no longer allow connect()ing to IN6ADDR_ANY as of commit
627e126dbb07.

Fixes: 627e126dbb07 ("netinet6: Disallow connections to IN6ADDR_ANY")
Reported by:    zlei

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste requested review of this revision.Mon, Feb 2, 7:38 PM
tests/sys/netgraph/ksocket.c
121โ€“123

Don't you need it here too?

udp6_connect too

tests/sys/netgraph/ksocket.c
121โ€“123

And populate sin6_len while here, too.

This revision is now accepted and ready to land.Mon, Feb 2, 8:20 PM

Oops, sorry. If the reviews.freebsd.org mailbox was open in mutt while I was fixing the test, then I would not jump in front of you.