This does not work, because the value is later used for other purposes
too. I fixed it now by moving sock_init() into the init task.
> Its not clear to me why the initialization needs to use the generic
> capability filtered code sequence at all. Logically, we are
> attempting to run before we can walk.
The kernel internally opens a socket to send ICMP and TCP RST packets,
and just uses the generic function to avoid duplicate code. The networking
code internally is strictly layered and some kind of object oriented
[uses vtables a lot], and it would be hard to change that.
> Since Linus wants things fast _and_ maintainable, I think I would
> investigate delaying the initialization of the ip code until after the
> current task has been properly initialized.
That's the current fix, yes.
Thanks,
-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html