sock_alloc() symbol removed in 2.6.10
Hello,
As of kernel 2.6.10 the symbol export of the sock_alloc() function has been removed (I assume in the course of "Remove dead socket layer exports"). Can anybody tell me why this happened? Why is it "dead"?
Thanks in advance.
Regards,
Ralf Dauberschmidt
Quoted 5 lines · Ralf Dauberschmidt
Hello,
As of kernel 2.6.10 the symbol export of the
sock_alloc()function has been removed (I assume in the course of "Remove dead socket layer exports"). Can anybody tell me why this happened? Why is it "dead"?
nobody used it ?
what driver are you looking at that wants to use it?
Quoted 8 lines · Arjan van de Ven
Quoted 5 lines · Ralf Dauberschmidt
Hello,
As of kernel 2.6.10 the symbol export of the
sock_alloc()function has been removed (I assume in the course of "Remove dead socket layer exports"). Can anybody tell me why this happened? Why is it "dead"?nobody used it ?
Also, it would be better to use sock_create_lite() to ensure proper handling by the security subsystem. See:
http://marc.theaimsgroup.com/?l=git-commits-head&m=108407590404054&w=2
Signature · 2 lines
Stephen Smalley National Security Agency
Quoted 1 line · Arjan van de Ven
what driver are you looking at that wants to use it?
At university we are currently porting a project from a 2.4 series kernel to a recent 2.6 series kernel. This project uses the sock_alloc() function.
Quoted 3 lines · Stephen Smalley
Also, it would be better to use
sock_create_lite()to ensure proper handling by the security subsystem. See:
http://marc.theaimsgroup.com/?l=git-commits-head&m=108407590404054&w=2
Thanks for the hint, I will use sock_create_lite() instead.
Regards,
Ralf Dauberschmidt