17 Oct, 2010

1 commit

  • Do some cleanups of TIPC based on make namespacecheck
    1. Don't export unused symbols
    2. Eliminate dead code
    3. Make functions and variables local
    4. Rename buf_acquire to tipc_buf_acquire since it is used in several files

    Compile tested only.
    This make break out of tree kernel modules that depend on TIPC routines.

    Signed-off-by: Stephen Hemminger
    Acked-by: Jon Maloy
    Acked-by: Paul Gortmaker
    Signed-off-by: David S. Miller

    stephen hemminger
     

14 Oct, 2010

1 commit

  • Remove all instances of legacy, or as yet to be implemented code
    that is currently living within an #if 0 ... #endif block.
    In the rare instance that some of it be needed in the future,
    it can still be dragged out of history, but there is no need
    for it to sit in mainline.

    Signed-off-by: Paul Gortmaker
    Acked-by: Neil Horman
    Signed-off-by: David S. Miller

    Paul Gortmaker
     

18 Aug, 2010

1 commit

  • Ensure that TIPC does not re-establish communication with a
    neighboring node until it has finished updating all data structures
    containing information about that node to reflect the earlier loss of
    contact. Previously, it was possible for TIPC to perform its purge of
    name table entries relating to the node once contact had already been
    re-established, resulting in the unwanted removal of valid name table
    entries.

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

    Allan Stephens
     

13 May, 2010

2 commits

  • These functions have enough code in them such that they
    seem like sensible targets for un-inlining. Prior to doing
    that, this adds the tipc_ prefix to the functions, so that
    in the event of a panic dump or similar, the subsystem from
    which the functions come from is immediately clear.

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

    Allan Stephens
     
  • Rather than live in link.c where they can only be used in that file alone,
    these helper routines are better served by being in link.h

    Relocated are the following:

    link_working_working
    link_working_unknown
    link_reset_unknown
    link_reset_reset
    link_blocked
    link_congested

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

    Allan Stephens
     

03 Sep, 2008

1 commit


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 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
     
  • This patch enhances TIPC's handler for incoming messages in two
    ways:
    - the trivial, single-use routine for processing non-sequenced
    messages has been merged into the main handler
    - the interface that received a message is now identified without
    having to access and/or modify the associated sk_buff

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

    Allan Stephens
     

22 May, 2008

1 commit


11 Feb, 2007

1 commit


19 Oct, 2006

2 commits

  • This patch corrects an issue wherein a previouly failed node could
    not reestablish a links to a non-failing node in the TIPC network
    until the latter node detected the link failure itself (which might
    be configured to take up to 30 seconds). The non-failing node now
    responds to link setup requests from a previously failed node in at
    most 1 second, allowing it to detect the link failure more quickly.

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

    Allan Stephens
     
  • TIPC now rejects and logs link setup requests from node if the
    receiving node already has a functional link to that node on the associated
    interface, or if the requestor is using the same as the receiver.

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

    Allan Stephens
     

22 Jul, 2006

1 commit


26 Jun, 2006

2 commits


21 Mar, 2006

1 commit

  • This patch contains the following possible cleanups:
    - make needlessly global code static
    - #if 0 the following unused global functions:
    - name_table.c: tipc_nametbl_print()
    - name_table.c: tipc_nametbl_dump()
    - net.c: tipc_net_next_node()

    Signed-off-by: Adrian Bunk
    Signed-off-by: Per Liden
    Signed-off-by: David S. Miller

    Adrian Bunk
     

18 Jan, 2006

1 commit


13 Jan, 2006

4 commits