Date: Mon, 31 Mar 2008 09:08:48 +0900 From: Pyun YongHyeon <pyunyh@gmail.com> To: "Aryeh M. Friedman" <aryeh.friedman@gmail.com> Cc: "Aryeh M. Friedman" <aryeh@flosoft.no-ip.biz>, freebsd-bugs@freebsd.org, "Andrey V. Elsukov" <bu7cher@yandex.ru>, remko@freebsd.org, yongari@freebsd.org Subject: Re: kern/122221: [re] re(4) requires -txcsum and -rxcsum on 8-CURRENT Message-ID: <20080331000848.GA9900@cdnetworks.co.kr> In-Reply-To: <47EEE7F0.5060809@gmail.com> References: <581611206801570@webmail46.yandex.ru> <47EEE7F0.5060809@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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
[-- Attachment #2 --]
--- 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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080331000848.GA9900>
