Author: sbruno
Date: Thu Dec 24 17:05:25 2015
New Revision: 292697
URL: https://svnweb.freebsd.org/changeset/base/292697

Log:
  Fix NO INET6 build broken at svn r292674
  
  Reported by: ohart...@zedat.fu-berlin.de

Modified:
  head/sys/dev/ixgbe/ix_txrx.c

Modified: head/sys/dev/ixgbe/ix_txrx.c
==============================================================================
--- head/sys/dev/ixgbe/ix_txrx.c        Thu Dec 24 16:55:09 2015        
(r292696)
+++ head/sys/dev/ixgbe/ix_txrx.c        Thu Dec 24 17:05:25 2015        
(r292697)
@@ -808,12 +808,14 @@ ixgbe_tx_ctx_setup(struct tx_ring *txr, 
                                *olinfo_status |= IXGBE_TXD_POPTS_IXSM << 8;
                        }
                        break;
+#ifdef INET6
                case ETHERTYPE_IPV6:
                        ip6 = (struct ip6_hdr *)(l3d);
                        ip_hlen = sizeof(struct ip6_hdr);
                        ipproto = ip6->ip6_nxt;
                        type_tucmd_mlhl |= IXGBE_ADVTXD_TUCMD_IPV6;
                        break;
+#endif
                default:
                        offload = FALSE;
                        break;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to