Author: marius
Date: Tue Jul 24 23:40:27 2018
New Revision: 336690
URL: https://svnweb.freebsd.org/changeset/base/336690

Log:
  Since r336611, n is only used for INET in iflib_parse_header().
  Reported by:  rpokala

Modified:
  head/sys/net/iflib.c

Modified: head/sys/net/iflib.c
==============================================================================
--- head/sys/net/iflib.c        Tue Jul 24 22:05:55 2018        (r336689)
+++ head/sys/net/iflib.c        Tue Jul 24 23:40:27 2018        (r336690)
@@ -2874,7 +2874,7 @@ iflib_parse_header(iflib_txq_t txq, if_pkt_info_t pi, 
 {
        if_shared_ctx_t sctx = txq->ift_ctx->ifc_sctx;
        struct ether_vlan_header *eh;
-       struct mbuf *m, *n;
+       struct mbuf *m;
 
        m = *mp;
        if ((sctx->isc_flags & IFLIB_NEED_SCRATCH) &&
@@ -2910,6 +2910,7 @@ iflib_parse_header(iflib_txq_t txq, if_pkt_info_t pi, 
 #ifdef INET
        case ETHERTYPE_IP:
        {
+               struct mbuf *n;
                struct ip *ip = NULL;
                struct tcphdr *th = NULL;
                int minthlen;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to