13 Mar, 2014

1 commit

  • As an artefact from the native interface, the message sending functions
    in the port takes a port ref as first parameter, and then looks up in
    the registry to find the corresponding port pointer. This despite the
    fact that the only currently existing caller, tipc_sock, already knows
    this pointer.

    We change the signature of these functions to take a struct tipc_port*
    argument, and remove the redundant lookups.

    We also remove an unmotivated extra lookup in the function
    socket.c:auto_connect(), and, as the lookup functions tipc_port_deref()
    and ref_deref() now become unused, we remove these two functions.

    Signed-off-by: Jon Maloy
    Reviewed-by: Ying Xue
    Reviewed-by: Erik Hugne
    Signed-off-by: David S. Miller

    Jon Paul Maloy
     

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
     

17 Apr, 2008

1 commit


11 Feb, 2007

1 commit


21 Mar, 2006

1 commit

  • Tried to run the new tipc stack through sparse.
    Following patch fixes all cases where 0 was used
    as replacement of NULL.
    Use NULL to document this is a pointer and to silence sparse.

    This brough sparse warning count down with 127 to 24 warnings.

    Signed-off-by: Sam Ravnborg
    Signed-off-by: Per Liden
    Signed-off-by: David S. Miller

    Sam Ravnborg
     

18 Jan, 2006

1 commit


13 Jan, 2006

4 commits