diff --git a/[refs] b/[refs] index 4319b441165a..5cbc8be9b028 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0efffaf9d57f54a864b739176d1f659a69486e8b +refs/heads/master: c751e4f8b32a3869bb4fec12100952abd9baa0e1 diff --git a/trunk/net/x25/af_x25.c b/trunk/net/x25/af_x25.c index bcb091f713ec..7b1c6ef04553 100644 --- a/trunk/net/x25/af_x25.c +++ b/trunk/net/x25/af_x25.c @@ -612,8 +612,7 @@ static int x25_release(struct socket *sock) break; } - sock->sk = NULL; - sk->sk_socket = NULL; /* Not used, but we should do this */ + sock_orphan(sk); out: return 0; }