freebsd-dev/tests/sys
Alan Somers 58a39d8c5b Fix source address selection on unbound sockets in the presence of multiple
fibs. Use the mbuf's or the socket's fib instead of RT_ALL_FIBS. Fixes PR
187553. Also fixes netperf's UDP_STREAM test on a nondefault fib.

sys/netinet/ip_output.c
	In ip_output, lookup the source address using the mbuf's fib instead
	of RT_ALL_FIBS.

sys/netinet/in_pcb.c
	in in_pcbladdr, lookup the source address using the socket's fib,
	because we don't seem to have the mbuf fib. They should be the same,
	though.

tests/sys/net/fibs_test.sh
	Clear the expected failure on udp_dontroute.

PR:		187553
CR:		https://reviews.freebsd.org/D772
MFC after:	3 weeks
Sponsored by:	Spectra Logic
2014-09-16 15:28:19 +00:00
..
kern Abort the create_socket test if socket creation fails. 2014-09-10 14:57:26 +00:00
netinet Fix source address selection on unbound sockets in the presence of multiple 2014-09-16 15:28:19 +00:00
Makefile Add several ATF tests that deal with multiple fibs. They're described in 2014-03-20 20:39:41 +00:00