]> git.baikalelectronics.ru Git - kernel.git/commit
x25: Use sock_orphan() instead of open-coded (and buggy) variant.
authorDavid S. Miller <davem@davemloft.net>
Tue, 17 Jun 2008 10:05:13 +0000 (03:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jun 2008 10:05:13 +0000 (03:05 -0700)
commit106f066229211b4278895e0c0ba1ed8ebf6b4947
tree2f930ab33e089bcde9b8fc12b272a6298a5e14e2
parentce084ad908d50419a1dc02bcf37445a3829abc3b
x25: 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/x25/af_x25.c