View | Details | Raw Unified | Return to bug 248029
Collapse All | Expand All

(-)sys/netinet/in_pcb.c (-7 lines)
Lines 322-333 Link Here
322
	INP_WLOCK_ASSERT(inp);
322
	INP_WLOCK_ASSERT(inp);
323
	INP_HASH_WLOCK_ASSERT(pcbinfo);
323
	INP_HASH_WLOCK_ASSERT(pcbinfo);
324
324
325
	/*
326
	 * Don't allow jailed socket to join local group.
327
	 */
328
	if (inp->inp_socket != NULL && jailed(inp->inp_socket->so_cred))
329
		return (0);
330
331
#ifdef INET6
325
#ifdef INET6
332
	/*
326
	/*
333
	 * Don't allow IPv4 mapped INET6 wild socket.
327
	 * Don't allow IPv4 mapped INET6 wild socket.
Lines 2026-2032 Link Here
2026
	 * 2. wild (if lookupflags contains INPLOOKUP_WILDCARD).
2020
	 * 2. wild (if lookupflags contains INPLOOKUP_WILDCARD).
2027
	 *
2021
	 *
2028
	 * NOTE:
2022
	 * NOTE:
2029
	 * - Load balanced group does not contain jailed sockets
2030
	 * - Load balanced group does not contain IPv4 mapped INET6 wild sockets
2023
	 * - Load balanced group does not contain IPv4 mapped INET6 wild sockets
2031
	 */
2024
	 */
2032
	local_wild = NULL;
2025
	local_wild = NULL;

Return to bug 248029