Date: Thu, 23 Apr 2009 21:41:37 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet in.c Message-ID: <200904232141.n3NLfhDw082458@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2009-04-23 21:41:37 UTC FreeBSD src repository Modified files: sys/netinet in.c Log: SVN rev 191443 on 2009-04-23 21:41:37Z by rwatson Reorganize in_control() so that invariants are more obvious, and so that it is easier to lock: - Handle the unsupported ioctl case at the beginning of in_control(), handing off to ifp->if_ioctl, rather than looking up interfaces and addresses unnecessarily in this case. - Make it an invariant that ifp is always non-NULL when running in_control()-implemented ioctls, simplifying the code structure. MFC after: 3 weeks Revision Changes Path 1.126 +51 -33 src/sys/netinet/in.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904232141.n3NLfhDw082458>