Unnamed
public text v1 · immutable--- sys/dev/re/if_re.c.orig Thu Apr 26 02:29:46 2007
+++ sys/dev/re/if_re.c Mon May 21 12:35:05 2007
@@ -2042,7 +2042,8 @@
* below can assemble the packet into a single buffer that's
* padded out to the mininum frame size.
*/
- if (arg.rl_flags && (*m_head)->m_pkthdr.len < RL_MIN_FRAMELEN)
+ if (arg.rl_flags && !(arg.rl_flags & RL_TDESC_CMD_TCPCSUM) &&
+ (*m_head)->m_pkthdr.len < RL_MIN_FRAMELEN)
error = EFBIG;
else
error = bus_dmamap_load_mbuf(sc->rl_ldata.rl_mtag, map,