CFT: Realtek network driver update

Daniel Bilik ddb at neosystem.org
Fri Feb 24 01:34:50 PST 2017


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 once again.

--
						Dan
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: if_re-dmesg.txt
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20170224/0801ee75/attachment-0004.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: if_re-pciconf.txt
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20170224/0801ee75/attachment-0005.txt>


More information about the Users mailing list