From: mpi Date: Thu, 21 Aug 2014 11:54:00 +0000 (+0000) Subject: Misleading comments about splnet(). X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e9e884ab1faab3f1ac2e1a9e026987cfb507475b;p=openbsd Misleading comments about splnet(). --- diff --git a/sys/netinet6/in6_pcb.c b/sys/netinet6/in6_pcb.c index e24719e8d0d..6fee3d159ce 100644 --- a/sys/netinet6/in6_pcb.c +++ b/sys/netinet6/in6_pcb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in6_pcb.c,v 1.64 2014/07/22 11:06:10 mpi Exp $ */ +/* $OpenBSD: in6_pcb.c,v 1.65 2014/08/21 11:54:00 mpi Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -382,8 +382,6 @@ in6_pcbsetport(struct in6_addr *laddr, struct inpcb *inp, struct proc *p) * * If don't have a local address for this socket yet, * then pick one. - * - * I believe this has to be called at splnet(). */ int in6_pcbconnect(struct inpcb *inp, struct mbuf *nam) @@ -472,8 +470,6 @@ in6_pcbconnect(struct inpcb *inp, struct mbuf *nam) * * Also perform input-side security policy check * once PCB to be notified has been located. - * - * Must be called at splnet. */ int in6_pcbnotify(struct inpcbtable *head, struct sockaddr_in6 *dst,