07 Jan, 2006

3 commits


20 Dec, 2005

1 commit


09 Nov, 2005

1 commit

  • From: Jesper Juhl

    This is the net/ part of the big kfree cleanup patch.

    Remove pointless checks for NULL prior to calling kfree() in net/.

    Signed-off-by: Jesper Juhl
    Cc: "David S. Miller"
    Cc: Arnaldo Carvalho de Melo
    Acked-by: Marcel Holtmann
    Acked-by: YOSHIFUJI Hideaki
    Signed-off-by: Andrew Morton

    Jesper Juhl
     

30 Oct, 2005

2 commits


19 Oct, 2005

8 commits


24 Sep, 2005

4 commits

  • This reverts 17f4e6febca160a9f9dd4bdece9784577a2f4524 commit.

    Trond Myklebust
     
  • Currently rpc_mkdir/rpc_rmdir and rpc_mkpipe/mk_unlink have an API that's
    a little unfortunate. They take a path relative to the rpc_pipefs root and
    thus need to perform a full lookup. If you look at debugfs or usbfs they
    always store the dentry for directories they created and thus can pass in
    a dentry + single pathname component pair into their equivalents of the
    above functions.

    And in fact rpc_pipefs actually stores a dentry for all but one component so
    this change not only simplifies the core rpc_pipe code but also the callers.

    Unfortuntately this code path is only used by the NFS4 idmapper and
    AUTH_GSSAPI for which I don't have a test enviroment. Could someone give
    it a spin? It's the last bit needed before we can rework the
    lookup_hash API

    Signed-off-by: Christoph Hellwig
    Signed-off-by: Trond Myklebust

    Christoph Hellwig
     
  • Add a generic mechanism for skipping over transport-specific headers
    when constructing an RPC request. This removes another "xprt->stream"
    dependency.

    Test-plan:
    Write-intensive workload on a single mount point (try both UDP and
    TCP).

    Signed-off-by: Chuck Lever
    Signed-off-by: Trond Myklebust

    Chuck Lever
     
  • Clean-up: get rid of unnecessary socket.h and in.h includes in the generic
    parts of the RPC client.

    Test-plan:
    Compile kernel with CONFIG_NFS enabled.

    Version: Thu, 11 Aug 2005 16:06:23 -0400

    Signed-off-by: Chuck Lever
    Signed-off-by: Trond Myklebust

    Chuck Lever
     

08 Sep, 2005

1 commit

  • When registering an RPC cache, cache_register() always sets the owner as the
    sunrpc module. However, there are RPC caches owned by other modules. With
    the incorrect owner setting, the real owning module can be removed potentially
    with an open reference to the cache from userspace.

    For example, if one were to stop the nfs server and unmount the nfsd
    filesystem, the nfsd module could be removed eventhough rpc.idmapd had
    references to the idtoname and nametoid caches (i.e.
    /proc/net/rpc/nfs4./channel is still open). This resulted in a
    system panic on one of our machines when attempting to restart the nfs
    services after reloading the nfsd module.

    The following patch adds a 'struct module *owner' field in struct
    cache_detail. The owner is further assigned to the struct proc_dir_entry
    in cache_register() so that the module cannot be unloaded while user-space
    daemons have an open reference on the associated file under /proc.

    Signed-off-by: Bruce Allan
    Cc: Trond Myklebust
    Cc: Neil Brown
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Bruce Allan
     

02 Sep, 2005

2 commits

  • Since the patch to add a NULL short-circuit to crypto_free_tfm() went in,
    there's no longer any need for callers of that function to check for NULL.
    This patch removes the redundant NULL checks and also a few similar checks
    for NULL before calls to kfree() that I ran into while doing the
    crypto_free_tfm bits.

    I've succesfuly compile tested this patch, and a kernel with the patch
    applied boots and runs just fine.

    When I posted the patch to LKML (and other lists/people on Cc) it drew the
    following comments :

    J. Bruce Fields commented
    "I've no problem with the auth_gss or nfsv4 bits.--b."

    Sridhar Samudrala said
    "sctp change looks fine."

    Herbert Xu signed off on the patch.

    So, I guess this is ready to be dropped into -mm and eventually mainline.

    Signed-off-by: Jesper Juhl
    Signed-off-by: Herbert Xu
    Signed-off-by: David S. Miller

    Jesper Juhl
     
  • This patch goes through the current users of the crypto layer and sets
    CRYPTO_TFM_REQ_MAY_SLEEP at crypto_alloc_tfm() where all crypto operations
    are performed in process context.

    Signed-off-by: Herbert Xu
    Signed-off-by: David S. Miller

    Herbert Xu
     

24 Aug, 2005

1 commit

  • While I was going through the crypto users recently, I noticed this
    bogus kmap in sunrpc. It's totally unnecessary since the crypto
    layer will do its own kmap before touching the data. Besides, the
    kmap is throwing the return value away.

    Signed-off-by: Herbert Xu
    Signed-off-by: David S. Miller

    Herbert Xu
     

23 Jun, 2005

2 commits


17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds