diff options
author | glebius <glebius@FreeBSD.org> | 2014-03-11 15:20:47 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2014-03-11 15:20:47 +0000 |
commit | 6f16f3acfd812427f5aed3cc9b6e1512339e14b7 (patch) | |
tree | e602c3b051800ff066af05983b96c416ea63d0e9 | |
parent | c517ab4bf117902b6d104f25833233326c06978d (diff) | |
download | FreeBSD-src-6f16f3acfd812427f5aed3cc9b6e1512339e14b7.zip FreeBSD-src-6f16f3acfd812427f5aed3cc9b6e1512339e14b7.tar.gz |
Merge r261029: remove NULL pointer dereference.
-rw-r--r-- | sys/netpfil/pf/pf.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/netpfil/pf/pf.c b/sys/netpfil/pf/pf.c index 8dbed47..af49c25 100644 --- a/sys/netpfil/pf/pf.c +++ b/sys/netpfil/pf/pf.c @@ -5265,7 +5265,6 @@ pf_route(struct mbuf **m, struct pf_rule *r, int dir, struct ifnet *oifp, 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; |