09 Oct, 2005

1 commit

  • - added typedef unsigned int __nocast gfp_t;

    - replaced __nocast uses for gfp flags with gfp_t - it gives exactly
    the same warnings as far as sparse is concerned, doesn't change
    generated code (from gcc point of view we replaced unsigned int with
    typedef) and documents what's going on far better.

    Signed-off-by: Al Viro
    Signed-off-by: Linus Torvalds

    Al Viro
     

07 Oct, 2005

1 commit


04 Oct, 2005

1 commit

  • The following patch renames __in_dev_get() to __in_dev_get_rtnl() and
    introduces __in_dev_get_rcu() to cover the second case.

    1) RCU with refcnt should use in_dev_get().
    2) RCU without refcnt should use __in_dev_get_rcu().
    3) All others must hold RTNL and use __in_dev_get_rtnl().

    There is one exception in net/ipv4/route.c which is in fact a pre-existing
    race condition. I've marked it as such so that we remember to fix it.

    This patch is based on suggestions and prior work by Suzanne Wood and
    Paul McKenney.

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

    Herbert Xu
     

23 Sep, 2005

1 commit

  • Fix to allow SCTP_SHUTDOWN notifications to be received on 1-1 style
    SCTP SOCK_STREAM sockets.

    Add SCTP_SHUTDOWN notification to the receive queue before updating
    the state of the association.

    Signed-off-by: Sridhar Samudrala
    Signed-off-by: Neil Horman
    Signed-off-by: David S. Miller

    Sridhar Samudrala
     

06 Sep, 2005

1 commit


02 Sep, 2005

1 commit

  • 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
     

30 Aug, 2005

6 commits


24 Aug, 2005

1 commit


19 Jul, 2005

2 commits


12 Jul, 2005

1 commit


09 Jul, 2005

1 commit


29 Jun, 2005

1 commit


24 Jun, 2005

1 commit


21 Jun, 2005

1 commit


19 Jun, 2005

1 commit

  • This patch replaces the spin_lock_irqsave call on the receive queue
    lock in SCTP with spin_lock_bh. Despite the proliferation of
    spin_lock_irqsave calls in this stack, it is only entered from the
    IPv4/IPv6 stack and user space. That is, it is never entered from
    hardirq context.

    The call in question is only called from recvmsg which means that
    IRQs aren't disabled. Therefore it is safe to replace it with
    spin_lock_bh.

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

    Herbert Xu
     

14 Jun, 2005

5 commits


29 Apr, 2005

6 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