Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 May 2004 09:48:29 +0200
From:      Daniel Lang <dl@leo.org>
To:        Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
Cc:        freebsd-current@freebsd.org
Subject:   Re: LOR: tcpinp and tcp
Message-ID:  <20040525074829.GB30503@atrbg11.informatik.tu-muenchen.de>
In-Reply-To: <20040512204829.T8831@ury.york.ac.uk>
References:  <20040512204829.T8831@ury.york.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

--qcHopEYAB45HaUaB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

Gavin Atkinson wrote on Wed, May 12, 2004 at 08:59:14PM +0100:
[..]
> It looks like this LOR has been reported once before, in early January. It
> seems to still be an issue. This is with top-of-tree CURRENT. It's not a
> known lock according to the LOR page.
>=20
> lock order reversal
>  1st 0xc2d7a2ac inp (tcpinp) @ /usr/src/sys/netinet/tcp_input.c:717
>  2nd 0xc08b230c tcp (tcp) @ /usr/src/sys/netinet/tcp_usrreq.c:616
> Stack backtrace:
[..]

I just came across this one, as well. It is now mentioned on
the Zabbadoz LOR-page, but still as "unknown".

Here is my stack:
[..]
> lock order reversal
>  1st 0xc6840630 inp (tcpinp) @ /usr/src/sys/netinet/tcp_input.c:717
>  2nd 0xc076d98c tcp (tcp) @ /usr/src/sys/netinet/tcp_usrreq.c:616
> Stack backtrace:
> backtrace(0,ffffffff,c0747858,c0747bc8,c0712e1c) at backtrace+0x12
> witness_checkorder(c076d98c,9,c06e30f1,268) at witness_checkorder+0x593
> _mtx_lock_flags(c076d98c,0,c06e30f1,268) at _mtx_lock_flags+0x67
> tcp_usr_rcvd(c687e780,80) at tcp_usr_rcvd+0x1b
> soreceive(c687e780,d7e61b2c,d7e61b38,d7e61b30,0) at soreceive+0x865
> nfsrv_rcv(c687e780,c6241b80,4) at nfsrv_rcv+0x83
> sowakeup(c687e780,c687e7cc) at sowakeup+0x71
> tcp_input(c199ec00,14,0,14,812a9f83) at tcp_input+0x12ba
> ip_input(c199ec00) at ip_input+0x83a
> netisr_processqueue(c076c858,c4392580,c198ae00,d7e61d1c,c05355a8) at neti=
sr_processqueue+0x6e
> swi_net(0) at swi_net+0x85
> ithread_loop(c198ae00,d7e61d48,c198ae00,c0535404,0) at ithread_loop+0x1a4
> fork_exit(c0535404,c198ae00,d7e61d48) at fork_exit+0xa8
> fork_trampoline() at fork_trampoline+0x8
> --- trap 0x1, eip =3D 0, esp =3D 0xd7e61d7c, ebp =3D 0 ---
[..]

It did not cause a panic and appeared to do no harm. Maybe this
turns out a false positive as well. Can anybody confirm this?

Best regards,
 Daniel
--=20
IRCnet: Mr-Spock                                    - Eddie would go! -
 Daniel Lang * dl@leo.org * +49 89 289 18532 * http://www.leo.org/~dl/

--qcHopEYAB45HaUaB
Content-Type: application/x-pkcs7-signature
Content-Disposition: attachment; filename="smime.p7s"
Content-Transfer-Encoding: base64

MIIVcwYJKoZIhvcNAQcCoIIVZDCCFWACAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC
EugwggcAMIIF6KADAgECAgIj0zANBgkqhkiG9w0BAQUFADByMQswCQYDVQQGEwJERTERMA8G
A1UEBxMITXVlbmNoZW4xDDAKBgNVBAoTA1RVTTELMAkGA1UECxMCSU4xGDAWBgNVBAMTD1JC
Ry1CZW51dHplci1DQTEbMBkGCSqGSIb3DQEJARYMY2FAaW4udHVtLmRlMB4XDTA0MDQyMzEz
MTU1OFoXDTA1MDUzMTAwMDAwMFowdzELMAkGA1UEBhMCREUxETAPBgNVBAcTCE11ZW5jaGVu
MQwwCgYDVQQKEwNUVU0xCzAJBgNVBAsTAklOMRQwEgYDVQQDEwtEYW5pZWwgTGFuZzEkMCIG
CSqGSIb3DQEJARYVZGFuaWVsLmxhbmdAaW4udHVtLmRlMIIBIjANBgkqhkiG9w0BAQEFAAOC
AQ8AMIIBCgKCAQEAs1d9JUkGBG8T4m1wlzqfK2IU6pEZQcA00/hX1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DzFFMEMwCgYIKoZIhvcNAwcwDgYIKoZIhvcNAwICAgCAMA0G
CCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgEoMA0GCSqGSIb3DQEBAQUABIIB
ACu/VNoB1KdpmU8oGeLmujwlgyjMpPR0hZ/nErV0bEHPrkntDIi+brAWYp8nC8GXDm4F1c6n
dRDpkM+L3cYGF9X2v/zSc/jW92WfXSPRocaG64T/8K8cjHu2qiDYmtvBVU6cVc4Qv6078KLF
dDIHCTH1HvbyyKU7fZrjRiHE+6H713KASg6Q8ZDxAkaDXBpwGk8Beb/pVWTtT0qi8iZBNvzD
fmp5KrR7P+U/gnvqp9p8yn66HbaRlpytxX0aoBWKeO0ZrKOkDldQSGAIE0FxdrGiOTb4PAbH
qmesVeKAgIm09aZFmd1Z1Yyh7EPfOztStoLPEJUuK6N/xAl7wAIq2bY=

--qcHopEYAB45HaUaB--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040525074829.GB30503>