Re: [PATCH] vsock: Make transport the proto owner

2014-05-05 Thread David Miller
From: Andy King Date: Thu, 1 May 2014 15:20:43 -0700 > Right now the core vsock module is the owner of the proto family. This > means there's nothing preventing the transport module from unloading if > there are open sockets, which results in a panic. Fix that by allowing > the transport to be

Re: [PATCH] vsock: Make transport the proto owner

2014-05-05 Thread David Miller
From: Andy King ack...@vmware.com Date: Thu, 1 May 2014 15:20:43 -0700 Right now the core vsock module is the owner of the proto family. This means there's nothing preventing the transport module from unloading if there are open sockets, which results in a panic. Fix that by allowing the

[PATCH] vsock: Make transport the proto owner

2014-05-01 Thread Andy King
Right now the core vsock module is the owner of the proto family. This means there's nothing preventing the transport module from unloading if there are open sockets, which results in a panic. Fix that by allowing the transport to be the owner, which will refcount it properly. Includes version

Re: [PATCH] vsock: Make transport the proto owner

2014-05-01 Thread Andy King
Oh just shoot me now, doesn't even pass checkpatch *hangs head in shame* Dave/Greg, flame away if you like... - Andy - Original Message - > Right now the core vsock module is the owner of the proto family. This > means there's nothing preventing the transport module from unloading if >

[PATCH] vsock: Make transport the proto owner

2014-05-01 Thread Andy King
Right now the core vsock module is the owner of the proto family. This means there's nothing preventing the transport module from unloading if there are open sockets, which results in a panic. Fix that by allowing the transport to be the owner, which will refcount it properly. Includes version

[PATCH] vsock: Make transport the proto owner

2014-05-01 Thread Andy King
Right now the core vsock module is the owner of the proto family. This means there's nothing preventing the transport module from unloading if there are open sockets, which results in a panic. Fix that by allowing the transport to be the owner, which will refcount it properly. Includes version

Re: [PATCH] vsock: Make transport the proto owner

2014-05-01 Thread Andy King
Oh just shoot me now, doesn't even pass checkpatch *hangs head in shame* Dave/Greg, flame away if you like... - Andy - Original Message - Right now the core vsock module is the owner of the proto family. This means there's nothing preventing the transport module from unloading if

[PATCH] vsock: Make transport the proto owner

2014-05-01 Thread Andy King
Right now the core vsock module is the owner of the proto family. This means there's nothing preventing the transport module from unloading if there are open sockets, which results in a panic. Fix that by allowing the transport to be the owner, which will refcount it properly. Includes version