svn commit: r185272 - head/sys/dev/fxp
Pyun YongHyeon
yongari at FreeBSD.org
Mon Nov 24 17:01:49 PST 2008
Author: yongari
Date: Tue Nov 25 01:01:48 2008
New Revision: 185272
URL: http://svn.freebsd.org/changeset/base/185272
Log:
Make fxp(4) build with FXP_IP_CSUM_WAR.
Modified:
head/sys/dev/fxp/if_fxp.c
Modified: head/sys/dev/fxp/if_fxp.c
==============================================================================
--- head/sys/dev/fxp/if_fxp.c Tue Nov 25 00:59:11 2008 (r185271)
+++ head/sys/dev/fxp/if_fxp.c Tue Nov 25 01:01:48 2008 (r185272)
@@ -1315,8 +1315,8 @@ fxp_encap(struct fxp_softc *sc, struct m
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 =
More information about the svn-src-all
mailing list