kern/182557: commit references a PR
dfilter service
dfilter at FreeBSD.ORG
Mon Jan 6 19:10:01 UTC 2014
The following reply was made to PR kern/182557; it has been noted by GNATS.
From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: kern/182557: commit references a PR
Date: Mon, 6 Jan 2014 19:05:12 +0000 (UTC)
Author: glebius
Date: Mon Jan 6 19:05:04 2014
New Revision: 260377
URL: http://svnweb.freebsd.org/changeset/base/260377
Log:
When pf_get_translation() fails, it should leave *sn pointer pristine,
otherwise we will panic in pf_test_rule().
PR: 182557
Modified:
head/sys/netpfil/pf/pf_lb.c
Modified: head/sys/netpfil/pf/pf_lb.c
==============================================================================
--- head/sys/netpfil/pf/pf_lb.c Mon Jan 6 17:23:22 2014 (r260376)
+++ head/sys/netpfil/pf/pf_lb.c Mon Jan 6 19:05:04 2014 (r260377)
@@ -686,6 +686,7 @@ notrans:
uma_zfree(V_pf_state_key_z, *nkp);
uma_zfree(V_pf_state_key_z, *skp);
*skp = *nkp = NULL;
+ *sn = NULL;
return (NULL);
}
_______________________________________________
svn-src-all at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"
More information about the freebsd-bugs
mailing list