]> err.no Git - linux-2.6/commit
[CAN]: Move proto_{,un}register() out of spin-locked region
authorUrs Thuermann <urs.thuermann@volkswagen.de>
Fri, 8 Feb 2008 02:04:45 +0000 (18:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Feb 2008 02:04:45 +0000 (18:04 -0800)
commita2fea5f19f970b45e854c22cab25250a79613643
treeed65426674c487102a98d5d28e6a8b5653525a4a
parent5423dd67bd0108a180784c6f307646622e804c9b
[CAN]: Move proto_{,un}register() out of spin-locked region

The implementation of proto_register() has changed so that it can now
sleep.  The call to proto_register() must be moved out of the
spin-locked region.

Signed-off-by: Urs Thuermann <urs.thuermann@volkswagen.de>
Signed-off-by: Oliver Hartkopp <oliver.hartkopp@volkswagen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/can/af_can.c