CFT: Realtek network driver update

Sepherosa Ziehau sepherosa at gmail.com
Mon Feb 27 19:05:24 PST 2017


On Fri, Feb 24, 2017 at 5:34 PM, Daniel Bilik <ddb at neosystem.org> wrote:
> On Fri, 24 Feb 2017 09:43:31 +0800
> Sepherosa Ziehau <sepherosa at gmail.com> wrote:
>
>>> Second problem is more tough (or weird, I'd say), and AFAICT is
>>> related to txcsum. New re(4) with txcsum turned on (which is default)
>>> seems to create, under some circumstances, malformed UDP packets.
>> Can you try this patch?
>> https://leaf.dragonflybsd.org/~sephe/re_autopad.diff
>> It's a quick test.
>
> Quick test has succeeded. :) The patch that disables m_devpad() call
> has solved the issue: openvpn connection is initiated even with txcsum
> enabled, and I don't see any side effects or network misbehaviour. Thank
> you very much. :-)
>
>>  BTW, can you give me the dmesg output related to
>> re(4)?
>
> Sure, dmesg(8) and pciconf(8) outputs are attached.
>
>>  Tcpdump output would be helpful, if the patch did not fix your
>> issue.
>
> Though the patch did fix it, I have dumps for both "good" and "bad" UDP
> packets. I'll send them to you privately, just FYI.

Thank you for the information.  Please try the following patch:
https://leaf.dragonflybsd.org/~sephe/re_encap.diff

Thanks,
sephe

-- 
Tomorrow Will Never Die



More information about the Users mailing list