Commit bec93e6a authored by Stephen Hemminger's avatar Stephen Hemminger

[ECONET]: Missing sk_set_owner().

parent 0f97ddb4
...@@ -562,6 +562,7 @@ static int econet_create(struct socket *sock, int protocol) ...@@ -562,6 +562,7 @@ static int econet_create(struct socket *sock, int protocol)
sk->sk_reuse = 1; sk->sk_reuse = 1;
sock->ops = &econet_ops; sock->ops = &econet_ops;
sock_init_data(sock,sk); sock_init_data(sock,sk);
sk_set_owner(sk, THIS_MODULE);
eo = ec_sk(sk) = kmalloc(sizeof(*eo), GFP_KERNEL); eo = ec_sk(sk) = kmalloc(sizeof(*eo), GFP_KERNEL);
if (!eo) if (!eo)
......
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