05 Jun, 2008

3 commits

  • This patch defines a few new message header manipulation routines,
    and generalizes the usefulness of another, in preparation for upcoming
    rework of TIPC's message rejection code.

    Signed-off-by: Allan Stephens
    Signed-off-by: David S. Miller

    Allan Stephens
     
  • This patch increases the "sequence gap" field of the LINK_PROTOCOL
    message header from 8 bits to 13 bits (utilizing 5 previously
    unused 0 bits). This ensures that the field is big enough to
    indicate the loss of up to 8191 consecutive messages on the link,
    thereby accommodating the current worst-case scenario of 4000
    lost messages.

    Signed-off-by: Allan Stephens
    Signed-off-by: David S. Miller

    Allan Stephens
     
  • This patch eliminates the rarely-used "error code" argument
    when initializing a TIPC message header, since the default
    value of zero is the desired result in most cases; the few
    exceptional cases now set the error code explicitly.

    Signed-off-by: Allan Stephens
    Signed-off-by: David S. Miller

    Allan Stephens
     

28 Apr, 2008

1 commit


07 Mar, 2008

4 commits

  • This patch makes two enhancements to the routine used to
    set bit fields within a TIPC message header:

    1) It now ignores any bits of the new field value that are not
    covered by the mask being used. (Previously, if the new value
    exceeded the size of the mask the extra bits could corrupt
    other fields in the message header word being updated.)

    2) The code has been optimized to minimize the number of run-time
    endianness conversion operations by leveraging the fact that the
    mask (and, in some cases, the value as well) is constant and the
    necessary conversion can be performed by the compiler.

    Signed-off-by: Allan Stephens
    Signed-off-by: David S. Miller

    Allan Stephens
     
  • This patch ensures that the 3-bit version field of the TIPC
    message header is masked correctly when written into a message.

    Signed-off-by: Allan Stephens
    Signed-off-by: David S. Miller

    Allan Stephens
     
  • This patch eliminates some unused or duplicate message header
    symbols, and fixes up the comments and/or location of a few
    other symbols.

    Signed-off-by: Allan Stephens
    Signed-off-by: David S. Miller

    Allan Stephens
     
  • This patch removes code associated with optional, user-specified
    fields of the TIPC message header. Such fields were never
    utilized by TIPC, and have now been removed from the protocol
    specification.

    Signed-off-by: Allan Stephens
    Signed-off-by: David S. Miller

    Allan Stephens
     

08 Feb, 2008

1 commit

  • All these static inlines are unused:

    in_own_zone 1 (net/tipc/addr.h)
    msg_dataoctet 1 (net/tipc/msg.h)
    msg_direct 1 (include/net/tipc/tipc_msg.h)
    msg_options 1 (include/net/tipc/tipc_msg.h)
    tipc_nmap_get 1 (net/tipc/bcast.h)

    Signed-off-by: Ilpo Järvinen
    Signed-off-by: David S. Miller

    Ilpo Järvinen
     

27 Jul, 2007

1 commit


26 Apr, 2007

2 commits

  • This patch makes two enhancements to msg_set_bits():

    1) It now ignores any bits of the new field value that are not
    covered by the mask being used. (Previously, if the new value
    exceeded the size of the mask the extra bits could corrupt
    other fields in the message header word being updated.)

    2) The code has been optimized to minimize the number of run-time
    endianness conversion operations by leveraging the fact that the
    mask (and, in some cases, the value as well) is constant and the
    necessary conversion can be performed by the compiler.

    Signed-off-by: Allan Stephens
    Signed-off-by: Jon Paul Maloy
    Signed-off-by: David S. Miller

    Allan Stephens
     
  • To clearly state the intent of copying to linear sk_buffs, _offset being a
    overly long variant but interesting for the sake of saving some bytes.

    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     

11 Feb, 2007

1 commit


18 Jan, 2006

2 commits


13 Jan, 2006

4 commits