*BSD News Article 56655


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!swrinde!newsfeed.internetmci.com!in1.uu.net!iglou!heathers.stdio.com!usenet
From: risner@stdio.com
Newsgroups: comp.os.linux.advocacy,comp.unix.bsd.freebsd.misc,comp.unix.advocacy,comp.unix.misc,comp.unix.pc-clone.32bit
Subject: Re: Linux vs FreeBSD
Date: 8 Dec 1995 13:35:56 GMT
Organization: Image Tech Computing
Lines: 34
Message-ID: <4a9evs$c9i@heathers.stdio.com>
References: <489kuu$rbo@pelican.cs.ucla.edu> <48ajsj$f5p@galaxy.ucr.edu> <49rm4p$o8o@daffy.anetsrvcs.uwrf.edu>
Reply-To: risner@stdio.com
NNTP-Posting-Host: os2
X-Newsreader: IBM NewsReader/2 v1.2
Xref: euryale.cc.adfa.oz.au comp.os.linux.advocacy:30072 comp.unix.bsd.freebsd.misc:10287 comp.unix.advocacy:12089 comp.unix.misc:20039 comp.unix.pc-clone.32bit:8941

In <49rm4p$o8o@daffy.anetsrvcs.uwrf.edu>, bl03@uwrf.edu (BENJAMIN A LINDSTROM) writes:
>Michael L. VanLoon (michaelv@MindBender.HeadCandy.com) wrote:
>: In article <49ls7i$62e@daffy.anetsrvcs.uwrf.edu> bl03@uwrf.edu (BENJAMIN A LINDSTROM) writes:
>:    BTW.. Linux has better UDP support.=)
>Well...For a fact I *KNOW* we get UDP returns to VERIFY our packates have
>been sent out.=)  Last I heard the *BSD systems still don't have that 
>fixed.=)

Well, I think you should know more about your OS BEFORE you make incorrect
statements on other OS boards.  I posted to all 5 groups as your original post.

Code sample from 1.3.40 Linux networking ip_build_xmit code:
                if(dev->flags&IFF_UP)                        
                        dev_queue_xmit(skb,dev,sk->priority);
                else
                {                                            
                        ip_statistics.IpOutDiscards++;       
                        kfree_skb(skb, FREE_WRITE);
                }
                return 0;
There were several cases of return with error under invalid conditions.
Conditions like "no route to host" and such.  These conditions are flagged on any
system.  As you will notice above, a DISCARDed packet is counted as a "good"
packet.  dev_queue_xmit is a function that buffers up the packet for the send
queue, and if it does not make it out, you WILL NOT HEAR about it.

You REALLY should be more cautious when you don't have a clue about the
universe.  Let me re-state, "LINUX DOES NOT GIVE THE PROGRAMMERS STATUS
ON UDP SENDS TO VERIFY A PACKET HAS BEEN SENT OUT."

Risner

The only UN*X which NEEDS special documentation is LINUX!
Long live V7; Skip Solaris 2.x; FreeBSD IS the PC UN*X