diff options
author | glebius <glebius@FreeBSD.org> | 2014-01-22 15:58:43 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2014-01-22 15:58:43 +0000 |
commit | 3f1e8f48cd8fa6e166ed853783ef71a081b29aaf (patch) | |
tree | 3b3ce8a889ccb01e86dc1cbe74c7d81a1ba8cd57 /sys/netpfil/pf | |
parent | 4d8db193db1f20cfa76da3c5b45f62761fd4fe6b (diff) | |
download | FreeBSD-src-3f1e8f48cd8fa6e166ed853783ef71a081b29aaf.zip FreeBSD-src-3f1e8f48cd8fa6e166ed853783ef71a081b29aaf.tar.gz |
Remove NULL pointer dereference.
CID: 1009118
Diffstat (limited to 'sys/netpfil/pf')
-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 e2fa265..c0ae748 100644 --- a/sys/netpfil/pf/pf.c +++ b/sys/netpfil/pf/pf.c @@ -5493,7 +5493,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; |