Commit 825fc281 authored by Stephen Hemminger's avatar Stephen Hemminger

[IPX]: Missing sk_set_owner().

parent bec93e6a
...@@ -1365,6 +1365,7 @@ static int ipx_create(struct socket *sock, int protocol) ...@@ -1365,6 +1365,7 @@ static int ipx_create(struct socket *sock, int protocol)
atomic_read(&ipx_sock_nr)); atomic_read(&ipx_sock_nr));
#endif #endif
sock_init_data(sock, sk); sock_init_data(sock, sk);
sk_set_owner(sk, THIS_MODULE);
sk->sk_no_check = 1; /* Checksum off by default */ sk->sk_no_check = 1; /* Checksum off by default */
rc = 0; rc = 0;
out: out:
......
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