econet: Use sock_orphan() instead of open-coded (and buggy) variant.
authorDavid S. Miller <davem@davemloft.net>
Tue, 17 Jun 2008 10:01:47 +0000 (03:01 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jun 2008 10:01:47 +0000 (03:01 -0700)
commit0efffaf9d57f54a864b739176d1f659a69486e8b
tree24948ff780a7a44c93daa5736df7e5fdb9706f6b
parentb61d38e05542200f6d001b5ea9975dc0dc5bab27
econet: Use sock_orphan() instead of open-coded (and buggy) variant.

It doesn't grab the sk_callback_lock, it doesn't NULL out
the sk->sk_sleep waitqueue pointer, etc.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/econet/af_econet.c