https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255695

Rick Macklem <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|[email protected]            |[email protected]
             Status|New                         |Open

--- Comment #1 from Rick Macklem <[email protected]> ---
Created attachment 224761
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=224761&action=edit
ref cnt the CLIENT structure so that it is not prematurely free'd

This patch acquires a reference count on the CLIENT
structure that is not released until the associated
socket structure is destroyed.
This should avoid the structure being free'd before
a callback reply has been processed.

It also adds a check for closed or closing, so that
it does not try to process a callback reply after the
CLIENT structure has been CLNT_CLOSE()'d.

I think should fix the crash.

I am waiting for a review and, hopefully, a positive
test report from Michael Dexter, who reported the crash.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to