diff options
| author | Matt Macy <mmacy@FreeBSD.org> | 2018-05-19 19:00:04 +0000 |
|---|---|---|
| committer | Matt Macy <mmacy@FreeBSD.org> | 2018-05-19 19:00:04 +0000 |
| commit | f6cb0dea4cc039b4046a48c484329744e023edda (patch) | |
| tree | b113bfd5a69f7cabc13f04b0de1d9c4cb9c1100f | |
| parent | 1f52c1db905b5e6689fb2d954e99645a74dc60a0 (diff) | |
Notes
| -rw-r--r-- | sys/net/if.c | 2 | ||||
| -rw-r--r-- | sys/net/iflib.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if.c b/sys/net/if.c index c04f2ad9d387..980940b268ab 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -2967,7 +2967,7 @@ int ifioctl(struct socket *so, u_long cmd, caddr_t data, struct thread *td) { #ifdef COMPAT_FREEBSD32 - caddr_t saved_data; + caddr_t saved_data = NULL; struct ifmediareq ifmr; #endif struct ifmediareq *ifmrp; diff --git a/sys/net/iflib.c b/sys/net/iflib.c index 7a5583dbe5e7..9cb67fc14afc 100644 --- a/sys/net/iflib.c +++ b/sys/net/iflib.c @@ -2599,8 +2599,7 @@ iflib_rxeof(iflib_rxq_t rxq, qidx_t budget) iflib_fl_t fl; struct ifnet *ifp; int lro_enabled; - bool lro_possible = false; - bool v4_forwarding, v6_forwarding; + bool v4_forwarding, v6_forwarding, lro_possible; /* * XXX early demux data packets so that if_input processing only handles @@ -2608,6 +2607,7 @@ iflib_rxeof(iflib_rxq_t rxq, qidx_t budget) */ struct mbuf *m, *mh, *mt, *mf; + lro_possible = v4_forwarding = v6_forwarding = false; ifp = ctx->ifc_ifp; mh = mt = NULL; MPASS(budget > 0); |
