David Lehmann wrote:
I tried 2.16.14 with the same results. See messages below.

BTW, I placed the check for the NULL q_ptr.  However, that check does
not seem to work any more.

Well, if I set the q_ptr to 0 in the close routine, it covers up the problem. Of course, the problem still exists.

My close routine code:

        /*
         * This is a hack to get around an LiS bug, which may cause close
         * to be called twice. Fortunately, the second time q->q_ptr == NULL.
         */
        if (q->q_ptr == NULL)
        {
                return 0;
        }
        
        ULCM_DEBUG("entered m2pa_close");
        
        // Disable the queue.
        qprocsoff(q);
        
        // Do 'close' stuff here (deleted)

        // Make second close identifiable.
        q->q_ptr = OTHERQ(q)->q_ptr = NULL;

        ULCM_DEBUG("left m2pa_close");
        
        return 0;


--


David Lehmann                          Ulticom, Inc.
AOL/Yahoo IM: davidULCM                1020 Briggs Road
1-856-787-2729                         Mt. Laurel, NJ 08054   USA


_______________________________________________ Linux-streams mailing list [EMAIL PROTECTED] http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams

Reply via email to