diff options
author | Pyun YongHyeon <yongari@FreeBSD.org> | 2008-11-25 01:01:48 +0000 |
---|---|---|
committer | Pyun YongHyeon <yongari@FreeBSD.org> | 2008-11-25 01:01:48 +0000 |
commit | b23d6be9522df2d0b83d0dccdbc9204741324797 (patch) | |
tree | 6ed5f0b2a69db7b352acfc30a04cc4374e94850e /sys/dev/fxp | |
parent | 8fae3bd4f1e0ce1c4a07669415d02701ae1e2ff9 (diff) |
Make fxp(4) build with FXP_IP_CSUM_WAR.
Notes
Notes:
svn path=/head/; revision=185272
Diffstat (limited to 'sys/dev/fxp')
-rw-r--r-- | sys/dev/fxp/if_fxp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c index 4b10db2255e1..b4ee5aa3a6df 100644 --- a/sys/dev/fxp/if_fxp.c +++ b/sys/dev/fxp/if_fxp.c @@ -1315,8 +1315,8 @@ fxp_encap(struct fxp_softc *sc, struct mbuf *m_head) if (m_head->m_pkthdr.len < 38) { struct ip *ip; m_head->m_data += ETHER_HDR_LEN; - ip = mtod(mb_head, struct ip *); - ip->ip_sum = in_cksum(mb_head, ip->ip_hl << 2); + ip = mtod(m_head, struct ip *); + ip->ip_sum = in_cksum(m_head, ip->ip_hl << 2); m_head->m_data -= ETHER_HDR_LEN; } else { txp->tx_cb->ipcb_ip_activation_high = |