Date: Wed, 20 Jan 2010 19:11:31 +0000 (UTC) From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org Subject: svn commit: r202714 - stable/7/sys/netinet Message-ID: <201001201911.o0KJBVPX091787@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tuexen Date: Wed Jan 20 19:11:31 2010 New Revision: 202714 URL: http://svn.freebsd.org/changeset/base/202714 Log: MFC 199369 Do not hold the lock longer than necessary. Modified: stable/7/sys/netinet/sctputil.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/netinet/sctputil.c ============================================================================== --- stable/7/sys/netinet/sctputil.c Wed Jan 20 18:58:23 2010 (r202713) +++ stable/7/sys/netinet/sctputil.c Wed Jan 20 19:11:31 2010 (r202714) @@ -6074,11 +6074,11 @@ sctp_dynamic_set_primary(struct sockaddr * newest first :-0 */ LIST_INSERT_HEAD(&SCTP_BASE_INFO(addr_wq), wi, sctp_nxt_addr); + SCTP_IPI_ITERATOR_WQ_UNLOCK(); sctp_timer_start(SCTP_TIMER_TYPE_ADDR_WQ, (struct sctp_inpcb *)NULL, (struct sctp_tcb *)NULL, (struct sctp_nets *)NULL); - SCTP_IPI_ITERATOR_WQ_UNLOCK(); return (0); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001201911.o0KJBVPX091787>