If the server goes away while the client is trying to copy a message from
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 26 Apr 2004 17:06:18 +0000 (17:06 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 26 Apr 2004 17:06:18 +0000 (17:06 +0000)
commit7ed63b6c84fa2ecf8e9420505e98860c76209a25
tree6c6fc295b3ae06df3d9d6195cdfb1d662ec61b75
parente525bd88292a154cfdb9e7dec2946a8529927a19
If the server goes away while the client is trying to copy a message from
it, the kernel may panic with a null-pointer indirection through the caps
ci_td field (which becomes NULL).  The field is properly becoming NULL,
the culprit was some debugging code that indirected through it without
checking first.

Reported-by: Chris Pressey <cpressey@catseye.mine.nu>
sys/kern/lwkt_caps.c