summaryrefslogtreecommitdiff
path: root/sys/dev/fxp
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2009-09-08 13:16:55 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2009-09-08 13:16:55 +0000
commitb34421bf9cab5d0ad5822abfaa62febedef2d9a1 (patch)
tree861cbfaa866bcf3864607e709a7f079f8e0b8b88 /sys/dev/fxp
parenta330ed7cd1527e7ec6ba9dd932510ab5c650e610 (diff)
Notes
Diffstat (limited to 'sys/dev/fxp')
-rw-r--r--sys/dev/fxp/if_fxp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index 4fb890f02b0b9..57ac1fb0b53e1 100644
--- a/sys/dev/fxp/if_fxp.c
+++ b/sys/dev/fxp/if_fxp.c
@@ -1597,6 +1597,7 @@ fxp_encap(struct fxp_softc *sc, struct mbuf **m_head)
cbp->tbd_number = nseg;
/* Configure TSO. */
if (m->m_pkthdr.csum_flags & CSUM_TSO) {
+ /* XXX: FlexeLint: negative subscript */
cbp->tbd[-1].tb_size = htole32(m->m_pkthdr.tso_segsz << 16);
cbp->tbd[1].tb_size |= htole32(tcp_payload << 16);
cbp->ipcb_ip_schedule |= FXP_IPCB_LARGESEND_ENABLE |