01 Feb, 2006

7 commits


31 Jan, 2006

5 commits

  • This fixes the accounting in H-TCP, the ccount variable is also
    adjusted a few lines above this one.

    This line was not supposed to be there and wasn't there in the patches
    originally submitted, the four patches submitted were merged to one
    and in that merge the bug was introduced.

    Signed-Off-By: Baruch Even
    Signed-off-by: David S. Miller

    Baruch Even
     
  • This is easily triggerable by sending bogus packets,
    allowing a malicious user to flood remote logs.

    Signed-off-by: Dave Jones
    Signed-off-by: David S. Miller

    Dave Jones
     
  • The number of HEARTBEAT chunks that an association may transmit is
    limited by Association.Max.Retrans count; however, the code allows
    us to send one extra heartbeat.

    This patch limits the number of heartbeats to the maximum count.

    Signed-off-by: Vlad Yasevich
    Signed-off-by: Sridhar Samudrala
    Signed-off-by: David S. Miller

    Vlad Yasevich
     
  • We currently count the initial INIT/COOKIE_ECHO chunk toward the
    retransmit count and thus sends a total of sctp_max_retrans_init chunks.
    The correct behavior is to retransmit the chunk sctp_max_retrans_init in
    addition to sending the original.

    Signed-off-by: Vlad Yasevich
    Signed-off-by: Sridhar Samudrala
    Signed-off-by: David S. Miller

    Vlad Yasevich
     
  • This patch, generated against 2.6.16-rc1-git4, corrects two typographical
    errors in ieee80211_rx.c and adds the facility name to a bare printk.

    Signed-Off-By: Larry Finger

    Signed-off-by: John W. Linville

    Larry Finger
     

28 Jan, 2006

2 commits


25 Jan, 2006

3 commits

  • The following patch fixes these problems in MLDv2:

    1) Add/remove "delete" records for sending change reports when
    addition of a filter results in that filter transitioning to/from
    inactive. [same as recent IPv4 IGMPv3 fix]
    2) Remove 2 redundant "group_type" checks (can't be IPV6_ADDR_ANY
    within that loop, so checks are always true)
    3) change an is_in() "return 0" to "return type == MLD2_MODE_IS_INCLUDE".
    It should always be "0" to get here, but it improves code locality
    to not assume it, and if some race allowed otherwise, doing
    the check would return the correct result.

    Signed-off-by: David L Stevens
    Signed-off-by: David S. Miller

    David L Stevens
     
  • When returning a message to userspace in reply to a SADB_FLUSH or
    SADB_X_SPDFLUSH message, the type was not set for the returned PFKEY
    message. The patch below corrects this problem.

    Signed-off-by: Jerome Borsboom
    Signed-off-by: David S. Miller

    Jerome Borsboom
     
  • This information is already available via /proc/net/bonding/*
    therefore it doesn't make sense to require CAP_NET_ADMIN
    privileges.

    Original patch by Laurent Deniel

    Signed-off-by: Thomas Graf
    Signed-off-by: David S. Miller

    Thomas Graf
     

24 Jan, 2006

3 commits


20 Jan, 2006

1 commit


19 Jan, 2006

8 commits

  • EDAC requires a way to scrub memory if an ECC error is found and the chipset
    does not do the work automatically. That means rewriting memory locations
    atomically with respect to all CPUs _and_ bus masters. That means we can't
    use atomic_add(foo, 0) as it gets optimised for non-SMP

    This adds a function to include/asm-foo/atomic.h for the platforms currently
    supported which implements a scrub of a mapped block.

    It also adjusts a few other files include order where atomic.h is included
    before types.h as this now causes an error as atomic_scrub uses u32.

    Signed-off-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alan Cox
     
  • Allow mechanisms to return more varied errors on the context creation
    downcall.

    Signed-off-by: J. Bruce Fields
    Signed-off-by: Neil Brown
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    J. Bruce Fields
     
  • We require the server's gssd to create a completed context before asking the
    kernel to send a final context init reply. However, gssd could be buggy, or
    under some bizarre circumstances we might purge the context from our cache
    before we get the chance to use it here.

    Handle this case by returning GSS_S_NO_CONTEXT to the client.

    Also move the relevant code here to a separate function rather than nesting
    excessively.

    Signed-off-by: J. Bruce Fields
    Signed-off-by: Neil Brown
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kevin Coffman
     
  • Kerberos context initiation is handled in a single round trip, but other
    mechanisms (including spkm3) may require more, so we need to handle the
    GSS_S_CONTINUE case in svcauth_gss_accept. Send a null verifier.

    Signed-off-by: Andy Adamson
    Signed-off-by: J. Bruce Fields
    Signed-off-by: Neil Brown
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andy Adamson
     
  • The server code currently keeps track of the destination address on every
    request so that it can reply using the same address. However we forget to do
    that in the case of a deferred request. Remedy this oversight. >From folks
    at PolyServe.

    Signed-off-by: J. Bruce Fields
    Signed-off-by: Neil Brown
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    J. Bruce Fields
     
  • David S. Miller
     
  • 1) fix "mld_marksources()" to
    a) send nothing when all queried sources are excluded
    b) send full exclude report when source queried sources are
    not excluded
    c) don't schedule a timer when there's nothing to report

    2) fix "add_grec()" to send empty-source records when it should
    The original check doesn't account for a non-empty source
    list with all sources inactive; the new code keeps that
    short-circuit case, and also generates the group header
    with an empty list if needed.

    3) fix mca_crcount decrement to be after add_grec(), which needs
    its original value

    4) add/remove delete records and prevent current advertisements
    when an exclude-mode filter moves from "active" to "inactive"
    or vice versa based on new filter additions.

    Items 1-3 are just IPv4 versions of the IPv6 bugs found
    by Yan Zheng and fixed earlier. Item #4 is a related bug that
    affects exclude-mode change records only (but not queries) and
    also occurs in IPv6 (IPv6 version coming soon).

    Signed-off-by: David L Stevens
    Signed-off-by: David S. Miller

    David L Stevens
     
  • Don't assume 16.

    Found by Ben Greear.

    Signed-off-by: David S. Miller

    David S. Miller
     

18 Jan, 2006

11 commits