svn commit: r349401 - head/sys/contrib/ipfilter/netinet
Cy Schubert
cy at FreeBSD.org
Wed Jun 26 00:53:55 UTC 2019
Author: cy
Date: Wed Jun 26 00:53:49 2019
New Revision: 349401
URL: https://svnweb.freebsd.org/changeset/base/349401
Log:
While working on PR/238796 I discovered an unused variable in frdest,
the next hop structure. It is likely this contributes to PR/238796
though other factors remain to be investigated.
PR: 238796
MFC after: 1 week
Modified:
head/sys/contrib/ipfilter/netinet/fil.c
head/sys/contrib/ipfilter/netinet/ip_fil.h
Modified: head/sys/contrib/ipfilter/netinet/fil.c
==============================================================================
--- head/sys/contrib/ipfilter/netinet/fil.c Wed Jun 26 00:53:46 2019 (r349400)
+++ head/sys/contrib/ipfilter/netinet/fil.c Wed Jun 26 00:53:49 2019 (r349401)
@@ -7474,10 +7474,6 @@ ipf_resolvedest(softc, base, fdp, v)
}
fdp->fd_ptr = ifp;
- if ((ifp != NULL) && (ifp != (void *)-1)) {
- fdp->fd_local = ipf_deliverlocal(softc, v, ifp, &fdp->fd_ip6);
- }
-
return errval;
}
Modified: head/sys/contrib/ipfilter/netinet/ip_fil.h
==============================================================================
--- head/sys/contrib/ipfilter/netinet/ip_fil.h Wed Jun 26 00:53:46 2019 (r349400)
+++ head/sys/contrib/ipfilter/netinet/ip_fil.h Wed Jun 26 00:53:49 2019 (r349401)
@@ -560,7 +560,6 @@ typedef struct frdest {
addrfamily_t fd_addr;
fr_dtypes_t fd_type;
int fd_name;
- int fd_local;
} frdest_t;
#define fd_ip6 fd_addr.adf_addr
More information about the svn-src-all
mailing list