10 Jan, 2007

5 commits


09 Jan, 2007

9 commits


05 Jan, 2007

6 commits


04 Jan, 2007

5 commits


01 Jan, 2007

1 commit

  • Installing an IPsec SA using old algorithm names (.compat) does not work
    if the algorithm is not already loaded. When not using the PF_KEY
    interface, algorithms are not preloaded in xfrm_probe_algs() and
    installing a IPsec SA fails.

    Signed-off-by: Martin Willi
    Acked-by: Herbert Xu
    Signed-off-by: David S. Miller

    Martin Willi
     

27 Dec, 2006

1 commit


23 Dec, 2006

6 commits

  • When this code was converted to use sk_for_each() the
    logic for the "best hash chain length" code was reversed,
    breaking everything.

    The original code was of the form:

    size = 0;
    do {
    if (++size >= best_size_so_far)
    goto next;
    } while ((sk = sk->next) != NULL);
    best_size_so_far = size;
    best = result;
    next:;

    and this got converted into:

    sk_for_each(sk2, node, head)
    if (++size < best_size_so_far) {
    best_size_so_far = size;
    best = result;
    }

    Which does something very very different from the original.

    Signed-off-by: David S. Miller

    David S. Miller
     
  • This patch makes the following needlessly global functions static:
    - ipv6.c: sctp_inet6addr_event()
    - protocol.c: sctp_inetaddr_event()

    Signed-off-by: Adrian Bunk
    Signed-off-by: Sridhar Samudrala
    Signed-off-by: David S. Miller

    Adrian Bunk
     
  • Signed-off-by: Ivan Skytte Jorgensen
    Signed-off-by: Sridhar Samudrala
    Signed-off-by: David S. Miller

    Ivan Skytte Jorgensen
     
  • Back when the original NetLabel patches were being changed to use Netlink
    attributes correctly some code was accidentially dropped which set all of the
    undefined CIPSOv4 level and category mappings to a sentinel value. The result
    is the mappings data in the kernel contains bogus mappings which always map to
    zero. This patch restores the old/correct behavior by initializing the mapping
    data to the correct sentinel value.

    Signed-off-by: Paul Moore
    Signed-off-by: James Morris

    Paul Moore
     
  • There are a couple of cases where the user input for a CIPSOv4 DOI add
    operation was not being done soon enough; the result was unexpected behavior
    which was resulting in oops/panics/lockups on some platforms. This patch moves
    the existing input validation code earlier in the code path to protect against
    bogus user input.

    Signed-off-by: Paul Moore
    Signed-off-by: James Morris

    Paul Moore
     
  • Return error and prevent from loading module when gss_mech_register()
    failed.

    Cc: Andy Adamson
    Cc: J. Bruce Fields
    Acked-by: Trond Myklebust
    Signed-off-by: Akinobu Mita
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Akinobu Mita
     

20 Dec, 2006

2 commits

  • ieee80211softmac_wx_get_genie locks the associnfo mutex at
    function exit. This patch fixes it. The patch is against Linus'
    tree (commit af1713e0).

    Signed-off-by: Ulrich Kunitz
    Signed-off-by: Michael Buesch
    Acked-by: Johannes Berg
    Signed-off-by: Larry Finger
    Signed-off-by: Andrew Morton
    Signed-off-by: John W. Linville

    Ulrich Kunitz
     
  • The signature of work functions changed recently from a context
    pointer to the work structure pointer. This caused a problem in
    the ieee80211softmac code, because the ieee80211softmac_assox_work
    function has been called directly with a parameter explicitly
    casted to (void*). This compiled correctly but resulted in a
    softlock, because mutex_lock was called with the wrong memory
    address. The patch fixes the problem. Another issue was a wrong
    call of the schedule_work function. Softmac works again and this
    fixes the problem I mentioned earlier in the zd1211rw rx tasklet
    patch. The patch is against Linus' tree (commit af1713e0).

    Signed-off-by: Ulrich Kunitz
    Acked-by: Michael Buesch
    Signed-off-by: Larry Finger
    Signed-off-by: Andrew Morton
    Signed-off-by: John W. Linville

    Ulrich Kunitz
     

18 Dec, 2006

5 commits