kern/122221: [re] re(4) requires -txcsum and -rxcsum
on 8-CURRENT
Pyun YongHyeon
pyunyh at gmail.com
Sun Mar 30 17:08:57 PDT 2008
On Sat, Mar 29, 2008 at 09:08:00PM -0400, Aryeh M. Friedman wrote:
> Andrey V. Elsukov wrote:
> >Hi, Aryeh
> >
> >can you show output `ident /boot/kernel/kernel | grep if_re`?
> >
> $FreeBSD: src/sys/dev/re/if_re.c,v 1.112 2008/03/28 01:21:21 yongari Exp $
>
Would you try attached one?
--
Regards,
Pyun YongHyeon
-------------- next part --------------
--- if_re.c.orig 2008-03-27 15:54:38.000000000 +0900
+++ if_re.c 2008-03-31 09:06:23.000000000 +0900
@@ -2181,7 +2181,7 @@
* offload is enabled, we always manually pad short frames out
* to the minimum ethernet frame size.
*/
- if ((*m_head)->m_pkthdr.len < RL_MIN_FRAMELEN &&
+ if ((*m_head)->m_pkthdr.len < ETHER_HDR_LEN + 28 &&
((*m_head)->m_pkthdr.csum_flags & CSUM_IP) != 0) {
padlen = RL_MIN_FRAMELEN - (*m_head)->m_pkthdr.len;
if (M_WRITABLE(*m_head) == 0) {
More information about the freebsd-bugs
mailing list