Date: Wed, 2 Nov 2011 17:00:22 GMT From: Andrey Zonov <andrey@zonov.org> To: freebsd-net@FreeBSD.org Subject: Re: kern/155585: [tcp] [panic] tcp_output tcp_mtudisc loop until kernel panic Message-ID: <201111021700.pA2H0MND043499@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/155585; it has been noted by GNATS. From: Andrey Zonov <andrey@zonov.org> To: bug-followup@FreeBSD.org, samspeed@mail.ru Cc: Subject: Re: kern/155585: [tcp] [panic] tcp_output tcp_mtudisc loop until kernel panic Date: Wed, 02 Nov 2011 20:54:15 +0400 This is a multi-part message in MIME format. --------------040501090905060606010708 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Andrey, Please try attached patch. I think the same problem was resolved here [1]. [1] http://svnweb.freebsd.org/base?view=revision&revision=178029 -- Andrey Zonov --------------040501090905060606010708 Content-Type: text/plain; name="patch-tcp_output.c.txt" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="patch-tcp_output.c.txt" SW5kZXg6IHN5cy9uZXRpbmV0L3RjcF9vdXRwdXQuYwo9PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBzeXMv bmV0aW5ldC90Y3Bfb3V0cHV0LmMJKHJldmlzaW9uIDIyNzAyMCkKKysrIHN5cy9uZXRpbmV0 L3RjcF9vdXRwdXQuYwkod29ya2luZyBjb3B5KQpAQCAtMTc3LDggKzE3Nyw5IEBACiAJaW50 IGlkbGUsIHNlbmRhbG90OwogCWludCBzYWNrX3J4bWl0LCBzYWNrX2J5dGVzX3J4bXQ7CiAJ c3RydWN0IHNhY2tob2xlICpwOwotCWludCB0c287CisJaW50IHRzbywgbXR1LCBvZmZlcjsK IAlzdHJ1Y3QgdGNwb3B0IHRvOworCXN0cnVjdCByb3V0ZSBybzsKICNpZiAwCiAJaW50IG1h eGJ1cnN0ID0gVENQX01BWEJVUlNU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kJfQorCQkJLyoKKwkJCSAqIFRoaXMgaXMgdGhlIGJlc3Qgd2Ug Y2FuIGRvIGhlcmUuCisJCQkgKi8KKwkJCXJldHVybiAoZXJyb3IpOwogCQljYXNlIEVIT1NU RE9XTjoKIAkJY2FzZSBFSE9TVFVOUkVBQ0g6CiAJCWNhc2UgRU5FVERPV046Cg== --------------040501090905060606010708--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111021700.pA2H0MND043499>