I remember back when the Unix kernel was truly a kernel.
15,000,000+ lines of code is 15,000,000+ opportunities for hacking exploits.
Linux is becoming as bloated as Windows.
Feminists have been trying to get at him, from what I understand, to the point where he absolutely refuses to be alone with any female at anytime for fear that someone will try to lodge a “sexual assault” complaint at him.
mtu -= hlen + sizeof(struct frag_hdr);which could have been improved like this :
if (mtu < hlen + sizeof(struct frag_hdr) + 8) goto fail_toobig; mtu -= hlen + sizeof(struct frag_hdr);was instead re-written like this :
if (overflow_usub(mtu, hlen + sizeof(struct frag_hdr), &mtu) || mtu <= 7) goto fail_toobig;
LOL. As if these geeks even have a chance of getting within 10 feet of a female...
How would you act if your folks named you Linus?
I read the linked email in which Linus tore into the developer. All I can say is I hope Linus’ code is better than his grammar. :-)
The “goto” is entirely besides the point.
The first point is the tendency of Linus to be blunt.
The second point is the use of whiz-bang compiler features that few understand and which don’t even do what they purport to do (well). The coding equivalent of don’t use a 50 cent word when a good 5 cent word will do the same job and better.
But don’t get bogged down on the “goto”.