Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet6/udp6_usrreq.c
Context not available. | |||||
error = EADDRNOTAVAIL; | error = EADDRNOTAVAIL; | ||||
goto release; | goto release; | ||||
} | } | ||||
if (inp->inp_lport == 0 && | if (inp->inp_lport == 0) { | ||||
(error = in6_pcbsetport(laddr, inp, td->td_ucred)) != 0) { | inp->inp_flags |= INP_ANONPORT; | ||||
/* Undo an address bind that may have occurred. */ | error = in6_pcbsetport((struct sockaddr *)addr6, laddr, | ||||
inp->in6p_laddr = in6addr_any; | inp, td->td_ucred); | ||||
goto release; | if (error) { | ||||
inp->inp_flags &= ~INP_ANONPORT; | |||||
/* Undo an address bind that may have occurred. */ | |||||
inp->in6p_laddr = in6addr_any; | |||||
goto release; | |||||
} | |||||
} | } | ||||
} else { | } else { | ||||
if (IN6_IS_ADDR_UNSPECIFIED(&inp->in6p_faddr)) { | if (IN6_IS_ADDR_UNSPECIFIED(&inp->in6p_faddr)) { | ||||
Context not available. | |||||
garga: style(9): Bad indent | |||||
Not Done Inline Actionsstyle(9): Line too long garga: style(9): Line too long |
style(9): Bad indent