22 May, 2008

1 commit

  • This patch ensures that TIPC's topology service and configuration
    service are shut down before switching into "network mode". This
    ensures that TIPC does not mistakenly try to send unnecessary
    "publication withdraw" messages to other nodes before it is fully
    initialized for sending off-node messages. Note that the node's
    current network address is now updated only after the two services
    are shut down; this ensures that any existing connections to the
    topology server are terminated correctly using the old address.

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

    Allan Stephens
     

15 May, 2008

1 commit


09 May, 2008

1 commit


05 May, 2008

4 commits

  • This patch modifies TIPC to only exclude debug-related print buffer
    routines when debugging capabilities are not required. It also
    fixes up some related #defines that exceed 80 characters.

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

    Allan Stephens
     
  • This patch contains changes to make TIPC's system & debug
    message declarations more readable. Declarations have been
    regrouped and recommented to make it easier to understand
    what output is generated in both standard and debugging modes.
    In addition, oversize lines have been fixed to respect the
    80 character upper bound used in the kernel.

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

    Allan Stephens
     
  • This patch contains changes to make TIPC's print buffer code
    conform more closely to Linux kernel coding guidelines.

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

    Allan Stephens
     
  • This patch revamps TIPC's print buffer subsystem to eliminate
    support for arbitrary chains of print buffers, which were
    rarely needed and difficult to use safely.

    In its place, print buffers can now be configured to echo their
    output to the system console. This provides an equivalent for
    the only chaining currently utilized by TIPC, in a faster and
    more compact manner.

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

    Allan Stephens
     

16 Apr, 2008

3 commits

  • This patch allows TIPC to process incoming messages that are
    stored in a fragmented sk_buff, by forcing the linearization
    of any such messages it receives.

    Note: This is an interim solution to allow TIPC to operate with
    Ethernet devices that generate non-linear buffers (such as the
    gianfar driver), until such time as the rest of TIPC is enhanced
    to handle sk_buffs with multiple data areas.

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

    Allan Stephens
     
  • This patch causes TIPC to allocate fast clonable sk_buffs,
    rather than standard ones. This speeds up the cloning
    operation done by the link code each time a message is sent
    off-node.

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

    Allan Stephens
     
  • This patch eliminates a null pointer check when discarding a
    TIPC message buffer, since kfree_skb() already handles this
    situation.

    Acknowledgements to Florian Westphal (fw@strlen.de> for
    suggesting this enhancement.

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

    Allan Stephens
     

07 Mar, 2008

1 commit


29 Jan, 2008

1 commit

  • Many-many code in the kernel initialized the timer->function
    and timer->data together with calling init_timer(timer). There
    is already a helper for this. Use it for networking code.

    The patch is HUGE, but makes the code 130 lines shorter
    (98 insertions(+), 228 deletions(-)).

    Signed-off-by: Pavel Emelyanov
    Acked-by: Arnaldo Carvalho de Melo
    Signed-off-by: David S. Miller

    Pavel Emelyanov
     

11 Feb, 2007

1 commit


19 Oct, 2006

3 commits

  • This patch enhances TIPC's Ethernet support to include VLAN interfaces.

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

    Allan Stephens
     
  • This patch allows the compiler to optimize out any code that tries to
    send debugging output to the null print buffer (TIPC_NULL), a capability
    that was unintentionally broken during the recent print buffer rework.

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

    Allan Stephens
     
  • This change modifies TIPC's print buffer code as follows:
    1) Now supports small print buffers (min. size reduced from 512 bytes to 64)
    2) Now uses TIPC_NULL print buffer structure to indicate null device
    instead of NULL pointer (this simplified error handling)
    3) Fixed misuse of console buffer structure by tipc_dump()
    4) Added and corrected comments in various places

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

    Allan Stephens
     

04 Jul, 2006

1 commit

  • The recent change to direct inspection of bundle buffer tailroom did not
    account for the possiblity of unrequested tailroom added by skb_alloc(),
    thereby allowing a bundle to be created that exceeds the current link MTU.
    An additional check now ensures that bundling works correctly no matter
    if the bundle buffer is smaller, larger, or equal to the link MTU.

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

    Allan Stephens
     

26 Jun, 2006

2 commits


18 Jan, 2006

2 commits


13 Jan, 2006

5 commits