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);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"