[NET]: proto_unregister: fix sleeping while atomic
authorPatrick McHardy <kaber@trash.net>
Wed, 7 Sep 2005 02:47:50 +0000 (19:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Sep 2005 02:47:50 +0000 (19:47 -0700)
proto_unregister holds a lock while calling kmem_cache_destroy, which
can sleep.

Noticed by Daniele Orlandi <daniele@orlandi.com>.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found