oops question

Adam (adam@cfar.umd.edu)
Fri, 8 Jun 2001 17:49:56 -0400 (EDT)


This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.

--42009324-1186711121-992037975=:12366
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID: <Pine.LNX.4.33.0106081747461.12366@eax.student.umd.edu>

does the attached oops makes sense or it is just messed up?

AFAICT the ksymoops is using right System.map, yet the stack
trace does not seem to follow logical order. it is from 2.4.6-pre1

for that matter is "defensive" programming the rule in kernel?
this ops could be avoided if the net/ipv4/ipmr.c:ipmr_new_tunel()
function was changed to check whether 'v' is null and if it is
true then just return.

I did not submit this patch though since I couldn't figure how
in the the first place code ended up there.

-- 
Adam
http://www.eax.com      The Supreme Headquarters of the 32 bit registers

--42009324-1186711121-992037975=:12366 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME="oops.ksymoops" Content-Transfer-Encoding: BASE64 Content-ID: <Pine.LNX.4.33.0106081706150.12366@eax.student.umd.edu> Content-Description: Content-Disposition: ATTACHMENT; FILENAME="oops.ksymoops"

a3N5bW9vcHMgMi40LjAgb24gaTY4NiAyLjQuNi1wcmUxLXBhY2tldC4gIE9w dGlvbnMgdXNlZA0KICAgICAtViAoZGVmYXVsdCkNCiAgICAgLWsgL3Byb2Mv a3N5bXMgKGRlZmF1bHQpDQogICAgIC1sIC9wcm9jL21vZHVsZXMgKGRlZmF1 bHQpDQogICAgIC1vIC9saWIvbW9kdWxlcy8yLjQuNi1wcmUxLXBhY2tldC8g KGRlZmF1bHQpDQogICAgIC1tIC9ib290L1N5c3RlbS5tYXAtMi40LjYtcHJl MS1wYWNrZXQgKGRlZmF1bHQpDQoNCldhcm5pbmc6IFlvdSBkaWQgbm90IHRl bGwgbWUgd2hlcmUgdG8gZmluZCBzeW1ib2wgaW5mb3JtYXRpb24uICBJIHdp bGwNCmFzc3VtZSB0aGF0IHRoZSBsb2cgbWF0Y2h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NClRyYWNlOyBjMDFiYjk5 NCA8c3lzX3NvY2tldGNhbGwrMTU0LzIwMD4NClRyYWNlOyBjMDEwNmZmZiA8 c3lzdGVtX2NhbGwrMzcvM2M+DQpUcmFjZTsgYzAxMDAwMmIgPHN0YXJ0dXBf MzIrMmIvY2I+DQpDb2RlOyAgYzAxZmJkMmQgPGlwbXJfbmV3X3R1bm5lbCsy ZC9mMD4NCjAwMDAwMDAwIDxfRUlQPjoNCkNvZGU7ICBjMDFmYmQyZCA8aXBt cl9uZXdfdHVubmVsKzJkL2YwPiAgIDw9PT09PQ0KICAgMDogICA4YiA0MyAw YyAgICAgICAgICAgICAgICAgIG1vdiAgICAweGMoJWVieCksJWVheCAgIDw9 PT09PQ0KQ29kZTsgIGMwMWZiZDMwIDxpcG1yX25ld190dW5uZWwrMzAvZjA+ DQogICAzOiAgIDg5IDQ0IDI0IDMwICAgICAgICAgICAgICAgbW92ICAgICVl YXgsMHgzMCglZXNwLDEpDQpDb2RlOyAgYzAxZmJkMzQgPGlwbXJfbmV3X3R1 bm5lbCszNC9mMD4NCiAgIDc6ICAgOGIgNDMgMDggICAgICAgICAgICAgICAg ICBtb3YgICAgMHg4KCVlYngpLCVlYXgNCkNvZGU7ICBjMDFmYmQzNyA8aXBt cl9uZXdfdHVubmVsKzM3L2YwPg0KICAgYTogICBjNiA0NCAyNCAyMCA0NSAg ICAgICAgICAgIG1vdmIgICAkMHg0NSwweDIwKCVlc3AsMSkNCkNvZGU7ICBj MDFmYmQzYyA8aXBtcl9uZXdfdHVubmVsKzNjL2YwPg0KICAgZjogICBjNiA0 NCAyNCAyOSAwNCAgICAgICAgICAgIG1vdmIgICAkMHg0LDB4MjkoJWVzcCwx KQ0KDQoNCjYgd2FybmluZ3MgaXNzdWVkLiAgUmVzdWx0cyBtYXkgbm90IGJl IHJlbGlhYmxlLg0K --42009324-1186711121-992037975=:12366-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/