diff options
| author | Stephan Uphoff <ups@FreeBSD.org> | 2006-07-18 22:34:27 +0000 |
|---|---|---|
| committer | Stephan Uphoff <ups@FreeBSD.org> | 2006-07-18 22:34:27 +0000 |
| commit | d915b2801534ecb14fceb9ac894c9aa3fb65d6c8 (patch) | |
| tree | 2e39fd9d815a6efa63bdabd6bfed00c38e05310a /sys/netinet6/raw_ip6.c | |
| parent | 0c6d6356bab47061765c0f24d769afe069d9e94b (diff) | |
Notes
Diffstat (limited to 'sys/netinet6/raw_ip6.c')
| -rw-r--r-- | sys/netinet6/raw_ip6.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet6/raw_ip6.c b/sys/netinet6/raw_ip6.c index 111f52539451..86ff948f7902 100644 --- a/sys/netinet6/raw_ip6.c +++ b/sys/netinet6/raw_ip6.c @@ -561,14 +561,13 @@ rip6_attach(struct socket *so, int proto, struct thread *td) if (filter == NULL) return ENOMEM; INP_INFO_WLOCK(&ripcbinfo); - error = in_pcballoc(so, &ripcbinfo, "raw6inp"); + error = in_pcballoc(so, &ripcbinfo); if (error) { INP_INFO_WUNLOCK(&ripcbinfo); FREE(filter, M_PCB); return error; } inp = (struct inpcb *)so->so_pcb; - INP_LOCK(inp); INP_INFO_WUNLOCK(&ripcbinfo); inp->inp_vflag |= INP_IPV6; inp->in6p_ip6_nxt = (long)proto; |
