svn commit: r226531 - head/sys/contrib/pf/net

Bjoern A. Zeeb bz at FreeBSD.org
Wed Oct 19 09:34:40 UTC 2011


Author: bz
Date: Wed Oct 19 09:34:40 2011
New Revision: 226531
URL: http://svn.freebsd.org/changeset/base/226531

Log:
  Fix an obvious locking bug where we would lock again rather than unlock.
  
  MFC after:	3 days

Modified:
  head/sys/contrib/pf/net/if_pfsync.c

Modified: head/sys/contrib/pf/net/if_pfsync.c
==============================================================================
--- head/sys/contrib/pf/net/if_pfsync.c	Wed Oct 19 08:57:17 2011	(r226530)
+++ head/sys/contrib/pf/net/if_pfsync.c	Wed Oct 19 09:34:40 2011	(r226531)
@@ -1558,7 +1558,7 @@ pfsync_in_del_c(struct pfsync_pkt *pkt, 
 		pf_unlink_state(st);
 	}
 #ifdef __FreeBSD__
-	PF_LOCK();
+	PF_UNLOCK();
 #endif
 	splx(s);
 


More information about the svn-src-all mailing list