From a49dcb067ccc0d0288291f437054538b34b31dcf Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Fri, 13 Nov 2009 20:54:06 +0000 Subject: Extend the protosw pr_ctlinput function to include the rdomain. This is needed so that the route and inp lookups done in TCP and UDP know where to look. Additionally in_pcbnotifyall() and tcp_respond() got a rdomain argument as well for similar reasons. With this tcp seems to be now fully rdomain save and no longer leaks single packets into the main domain. Looks good markus@, henning@ --- sys/netinet/in_pcb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/netinet/in_pcb.h') diff --git a/sys/netinet/in_pcb.h b/sys/netinet/in_pcb.h index 7e75d8294c6..da1df0acdcc 100644 --- a/sys/netinet/in_pcb.h +++ b/sys/netinet/in_pcb.h @@ -1,4 +1,4 @@ -/* $OpenBSD: in_pcb.h,v 1.67 2009/06/05 00:05:22 claudio Exp $ */ +/* $OpenBSD: in_pcb.h,v 1.68 2009/11/13 20:54:05 claudio Exp $ */ /* $NetBSD: in_pcb.h,v 1.14 1996/02/13 23:42:00 christos Exp $ */ /* @@ -272,7 +272,7 @@ struct inpcb * in_pcblookup(struct inpcbtable *, void *, u_int, void *, u_int, int, u_int); void in_pcbnotifyall(struct inpcbtable *, struct sockaddr *, - int, void (*)(struct inpcb *, int)); + u_int, int, void (*)(struct inpcb *, int)); void in_pcbrehash(struct inpcb *); void in_rtchange(struct inpcb *, int); void in_setpeeraddr(struct inpcb *, struct mbuf *); -- cgit v1.2.3