Commit 384aca7a authored by Andrew Morton's avatar Andrew Morton Committed by David S. Miller

[NETROM]: Do not use lvalue in assignment.

parent 8f917da5
......@@ -72,7 +72,7 @@ static struct sock *nr_alloc_sock(void)
if (!sk)
goto out;
nr = nr_sk(sk) = kmalloc(sizeof(*nr), GFP_ATOMIC);
nr = sk->sk_protinfo = kmalloc(sizeof(*nr), GFP_ATOMIC);
if (!nr)
goto frees;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment