Date: Sun, 31 Aug 2008 21:54:24 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet6 icmp6.c Message-ID: <200808312154.m7VLsgbR019499@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2008-08-31 21:54:24 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet6 icmp6.c Log: SVN rev 182575 on 2008-08-31 21:54:24Z by rwatson Merge r180968 from head to stable/7: When copying in and out current ICMPv6 filters on a raw IPv6 socket, lock the inpcb and use a local stack variable to copy to/from userspace so that sooptcopyin()/sooptcopyout() aren't called while holding an rwlock. While here, fix a bug in which a failed sooptcopyin() might lead to partially consistent ICMPv6 filters on the socket by not ignoring the error returned by sooptcopyin(). Revision Changes Path 1.80.2.4 +14 -6 src/sys/netinet6/icmp6.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808312154.m7VLsgbR019499>