Dave,
Just about every module in the package does not check the return value
of putq. They will all need to be changed from:
putq(q, mp);
to
if (!putq(q, mp))
freemsg(mp);
Or did you catch that already.
--brian
On Thu, 03 Jun 2004, Dave Grothe wrote:
>
> Let's just say it's a bug in LiS putq. I changed it to match the
> Solaris/HPUX behavior.
> -- Dave
> At 03:24 PM 6/3/2004, Eugene LiS User wrote:
>
> Hi,
> Being directed per 'Streams and SMP' thread to use putq()
> instead of put() I have noticed the following discrepancy(sp?)
> inputq() implementation:
> On Solaris and HPUX if putq() fails it does not do freemsg() inside
> itself
> whereas in LiS it does.
> I.e. on Solaris/HPUX drivers can do like this:
> if(!putq(q,mp) freemsg(mp)
> On Lis this causes trouble, since putq() already freed the message
> before it returned 0.
> --
> Eugene
> __________________________________________________________________
> Introducing the New Netscape Internet Service.
> Only $9.95 a month -- Sign up today at
> [1]http://isp.netscape.com/register
> Netscape. Just the Net You Need.
> New! Netscape Toolbar for Internet Explorer
> Search from anywhere on the Web and block those annoying pop-ups.
> Download now at
> [2]http://channels.netscape.com/ns/search/install.jsp
> _______________________________________________
> Linux-streams mailing list
> [EMAIL PROTECTED]
> [3]http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams
>
> References
>
> 1. http://isp.netscape.com/register
> 2. http://channels.netscape.com/ns/search/install.jsp
> 3. http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams
--
Brian F. G. Bidulock � The reasonable man adapts himself to the �
[EMAIL PROTECTED] � world; the unreasonable one persists in �
http://www.openss7.org/ � trying to adapt the world to himself. �
� Therefore all progress depends on the �
� unreasonable man. -- George Bernard Shaw �
_______________________________________________
Linux-streams mailing list
[EMAIL PROTECTED]
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams