lkml.org 
[lkml]   [2008]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 1/3] SUNRPC: Ensure the server closes sockets in a timely fashion
    From
    Date
    On Wed, 2008-12-17 at 09:27 -0600, Tom Tucker wrote:
    > > + if (!test_bit(XPT_LISTENER, &xprt->xpt_flags))
    > > + kernel_sock_shutdown(svsk->sk_sock, SHUT_RDWR);
    >
    > How is this different than what happens as an artifact of sock_release?

    The point is that it is independent of whether or not something is
    holding a reference to the svc_sock.

    --
    Trond Myklebust
    Linux NFS client maintainer

    NetApp
    Trond.Myklebust@netapp.com
    www.netapp.com


    \
     
     \ /
      Last update: 2008-12-17 19:17    [W:3.078 / U:1.624 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site