*BSD News Article 90048


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!cam-news-hub1.bbnplanet.com!news.bbnplanet.com!howland.erols.net!torn!webster.srv.gc.ca!news.pwgsc.gc.ca!piper.pwgsc.gc.ca!orion.ncr.pwgsc.gc.ca!nand
From: nand@orion.ncr.pwgsc.gc.ca (Nand Bharadwaj)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: HELP - Missing code in kernel source
Date: 25 Feb 1997 02:20:29 GMT
Organization: PWGSC / TPSGC
Lines: 32
Message-ID: <5eti9d$6ac@piper.pwgsc.gc.ca>
NNTP-Posting-Host: 142.226.232.117
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:36060

Hello all,

At the risk of being flamed and toasted may I ask, Why Oh why, do the 
basic code to the kernel change and why do they change for the worse??

OK, OK, keep those blasted flame throwers away until I vent my spleen: here
goes:

I am a network software developer working at the transport and network 
protocol level. As such I would expect that the kernel code supporting the
networking code would remain more or less stable. I am now referring to the
code under /usr/src/sys/netinet. However, I find that ip_icmp.c, in this
directory, has changed so that it no longer handles ICMP_ECHOREPLY. DUH!!
What happened??? This is basic networking code!! This same code handles this
case correctly under FreeBSD-2.0!!! C'mon people. I moved away from Linux
to FreeBSD about 2 months ago precisely because of these sorts of problems.

Needless to say this is not the only problem I am experiencing right now.
For example the sendto() function call returns with an EINVAL when using
a socket descriptor opened with SOCK_RAW and then setsockopt with IP_HDRINCL.

Ok, now you can blast away at me. If all this and others have been documented
somewhere, please let know; it really is distressing shouting like this
in public :-).

Just before I leave has this omission been corrected in the latest (2.1.7)
release. I am on 2.1.6-RELEASE from the CD.

Any way no offense to anybody. 

thx nand