diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-08-21 11:54:01 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-08-21 11:54:01 +0000 |
commit | 93a39c4337d6a84042fa2e3e3ce59bb72840431f (patch) | |
tree | a9f9161845e4af9144fadf69cafb2a47d1bd71da /sys/netinet6 | |
parent | b14846c0a8ccf65ee7e49571b237fc425283ee76 (diff) |
Misleading comments about splnet().
Diffstat (limited to 'sys/netinet6')
-rw-r--r-- | sys/netinet6/in6_pcb.c | 6 |
1 files changed, 1 insertions, 5 deletions
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, |