Author: glebius
Date: Tue Mar 11 15:20:47 2014
New Revision: 263027
URL: http://svnweb.freebsd.org/changeset/base/263027

Log:
  Merge r261029: remove NULL pointer dereference.

Modified:
  stable/10/sys/netpfil/pf/pf.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/netpfil/pf/pf.c
==============================================================================
--- stable/10/sys/netpfil/pf/pf.c       Tue Mar 11 15:19:11 2014        
(r263026)
+++ stable/10/sys/netpfil/pf/pf.c       Tue Mar 11 15:20:47 2014        
(r263027)
@@ -5265,7 +5265,6 @@ pf_route(struct mbuf **m, struct pf_rule
                        PF_STATE_UNLOCK(s);
                rt = rtalloc1_fib(sintosa(&dst), 0, 0, M_GETFIB(m0));
                if (rt == NULL) {
-                       RTFREE_LOCKED(rt);
                        KMOD_IPSTAT_INC(ips_noroute);
                        error = EHOSTUNREACH;
                        goto bad;
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to