Skip to content

Commit

Permalink
kernel: Unbreak building kernels that have 'options BNX_TSO_DEBUG'.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sascha Wildner committed Mar 29, 2013
1 parent 8c2d08b commit 5a0c3c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/dev/netif/bnx/if_bnx.c
Expand Up @@ -2756,7 +2756,7 @@ bnx_encap(struct bnx_tx_ring *txr, struct mbuf **m_head0, uint32_t *txidx,
tso_nsegs = BNX_TSO_NSTATS - 1;
else if (tso_nsegs < 0)
tso_nsegs = 0;
txr->sc->bnx_tsosegs[tso_nsegs]++;
txr->bnx_sc->bnx_tsosegs[tso_nsegs]++;
#endif
} else if (m_head->m_pkthdr.csum_flags & BNX_CSUM_FEATURES) {
if (m_head->m_pkthdr.csum_flags & CSUM_IP)
Expand Down

0 comments on commit 5a0c3c3

Please sign in to comment.