Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 2014 19:10:01 GMT
From:      dfilter@FreeBSD.ORG (dfilter service)
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/182557: commit references a PR
Message-ID:  <201401061910.s06JA1i0060284@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/182557; it has been noted by GNATS.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@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@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401061910.s06JA1i0060284>