Messages in this thread | | | Date | Thu, 09 Jan 2003 12:45:37 -0800 | From | Max Krasnyansky <> | Subject | Re: [PATCH/RFC] New module refcounting for net_proto_family |
| |
At 01:21 AM 1/7/2003 -0800, David S. Miller wrote:
>Change is buggy, there are many places that sk_alloc() but don't use >sock_init_data(). net/ipv4/tcp_minisocks.c is one of many such >places. Those guys will have to bump mod refcount themselves then. sock_init_data() and sock_graft() have access to ->owner field but sk_alloc() doesn't. So we either have to change sk_alloc() API or make call to sock_init_data()/sock_graft() a must. Any other suggestions ?
Max
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |