[AF_UNIX] Initialise UNIX sockets before general device initcalls
authorDavid Woodhouse <dwmw2@infradead.org>
Thu, 24 Apr 2008 07:59:25 +0000 (00:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Apr 2008 07:59:25 +0000 (00:59 -0700)
commit3d36696024499aef19dbf24a781e91a24fbbe4af
tree2d999dfee2897123f6fb16e2a75327ac8db2020d
parentc9c1014b2bd014c7ec037bbb6f58818162fdb265
[AF_UNIX] Initialise UNIX sockets before general device initcalls

When drivers call request_module(), it tries to do something with UNIX
sockets and triggers a 'runaway loop modprobe net-pf-1' warning. Avoid
this by initialising AF_UNIX support earlier.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/unix/af_unix.c