Date: Thu, 8 May 2008 15:56:10 GMT From: Andre Oppermann <andre@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 141327 for review Message-ID: <200805081556.m48FuAJk068382@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=141327 Change 141327 by andre@andre_flirtbox on 2008/05/08 15:55:14 Apply locking changes to new function. Affected files ... .. //depot/projects/tcp_reass/netinet/tcp_timer.c#4 edit Differences ... ==== //depot/projects/tcp_reass/netinet/tcp_timer.c#4 (text+ko) ==== @@ -585,11 +585,11 @@ INP_INFO_RUNLOCK(&tcbinfo); return; } - INP_LOCK(inp); + INP_WLOCK(inp); INP_INFO_RUNLOCK(&tcbinfo); if ((inp->inp_vflag & INP_DROPPED) || callout_pending(&tp->t_timers->tt_reass) || !callout_active(&tp->t_timers->tt_reass)) { - INP_UNLOCK(inp); + INP_WUNLOCK(inp); return; } callout_deactivate(&tp->t_timers->tt_reass); @@ -598,7 +598,7 @@ tcp_reass_qfree(tp); tp->t_flags |= TF_ACKNOW; (void) tcp_output(tp); - INP_UNLOCK(inp); + INP_WUNLOCK(inp); } void
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805081556.m48FuAJk068382>
