svn commit: r211301 - head/sys/netinet6

Bjoern A. Zeeb bz at
Sat Aug 14 14:13:45 UTC 2010

Author: bz
Date: Sat Aug 14 14:13:44 2010
New Revision: 211301

  In rip6_input(), in case of multicast, we might skip the normal processing
  and go to the next iteration early if multicast filtering would decide that
  this socket shall not receive the data.
  Unlock the pcb in that case or we leak the read lock and next time trying
  to get a write lock, would hang forever.
  PR:		kern/149608
  Submitted by:	Chris Luke (chrisy
  MFC after:	3 days


Modified: head/sys/netinet6/raw_ip6.c
--- head/sys/netinet6/raw_ip6.c	Sat Aug 14 14:09:13 2010	(r211300)
+++ head/sys/netinet6/raw_ip6.c	Sat Aug 14 14:13:44 2010	(r211301)
@@ -248,6 +248,7 @@ rip6_input(struct mbuf **mp, int *offp, 
 			if (blocked != MCAST_PASS) {
+				INP_RUNLOCK(in6p);

More information about the svn-src-all mailing list