lkml.org 
[lkml]   [2003]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH/RFC] New module refcounting for net_proto_family
    From
       From: Max Krasnyansky <maxk@qualcomm.com>
    Date: Thu, 09 Jan 2003 12:45:37 -0800

    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 ?

    This isn't rocket science, just make a new sock_foo() interface
    that merely does the module owner setup.
    -
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:32    [W:3.827 / U:0.036 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site