Re: [PATCH 0/14] TIPC updates

2006-10-18 Thread Per Liden
On Mon, 16 Oct 2006, David Miller wrote: > From: Per Liden <[EMAIL PROTECTED]> > Date: Fri, 13 Oct 2006 13:37:23 +0200 (CEST) > > > This patch set includes a number TIPC fixes/cleanups. Please see each > > individual patch for further description. > > &g

Re: [PATCH 9/14] [TIPC] Name publication events now delivered in chronological order

2006-10-16 Thread Per Liden
t; of patch 10/14. > > -Bill > > > > On Fri, 13 Oct 2006 13:37:50 +0200, Per Liden wrote: > > > From: Allan Stephens <[EMAIL PROTECTED]> > > > > This patch tivially re-orders the entries in TIPC's list of local &g

[PATCH 2/14] [TIPC] Debug print buffer enhancements and fixes

2006-10-13 Thread Per Liden
ified 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 <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/core.h | 16 +++---

[PATCH 1/14] [TIPC] Add missing unlock in port timeout code.

2006-10-13 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/port.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/net/tipc/port.c b/net/tipc/port.c inde

[PATCH 4/14] [TIPC] Added duplicate node address detection capability

2006-10-13 Thread Per Liden
PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/bearer.c |8 net/tipc/discover.c | 32 +++- 2 files changed, 35 insertions(+), 5 deletions(-) diff --git a/net/tipc/bearer.c b/net/tipc/bearer.c index 75a5968..fc85a12 100

[PATCH 8/14] [TIPC] Fix socket receive queue NULL pointer dereference on SMP systems

2006-10-13 Thread Per Liden
igned-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/socket.c | 40 ++-- 1 files changed, 26 insertions(+), 14 deletions(-) diff --git a/net/tipc/socket.c b/net/tipc/socket.c index 2a6a5a6..827f204 100644 --- a/net/tipc/socket.c +++ b/net/tipc/socket

[PATCH 14/14] [TIPC] Updated TIPC version number to 1.6.2

2006-10-13 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/core.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net/tipc/core.c b/net/tipc/core.c index 7f3f6

[PATCH 10/14] [TIPC] Fixed slow link reactivation when link tolerance is large

2006-10-13 Thread Per Liden
he 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 <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/discover.c |7 --

[PATCH 9/14] [TIPC] Name publication events now delivered in chronological order

2006-10-13 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> This patch tivially re-orders the entries in TIPC's list of local publications so that applications will receive publication events in the order they were published. Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by:

[PATCH 12/14] [TIPC] Added subscription cancellation capability

2006-10-13 Thread Per Liden
Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- include/linux/tipc.h |1 + net/tipc/subscr.c| 99 ++ 2 files changed, 85 insertions(+), 15 deletions(-) diff --git a/include/linu

[PATCH 0/14] TIPC updates

2006-10-13 Thread Per Liden
Hi David, This patch set includes a number TIPC fixes/cleanups. Please see each individual patch for further description. Please pull from: git://tipc.cslab.ericsson.net/pub/git/tipc.git (rebased on linux/kernel/git/davem/net-2.6.git) Summary: include/linux/tipc.h |1 net/tipc/beare

[PATCH 3/14] [TIPC] Stream socket can now send > 66000 bytes at a time

2006-10-13 Thread Per Liden
on an established stream connection. Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/socket.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/net/tipc/socket.c b/net/tipc/socket.c index acfb852..ed900f

[PATCH 11/14] [TIPC] Can now list multicast link on an isolated network node

2006-10-13 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> This patch fixes a minor bug that prevents "tipc-config -l" from displaying the multicast link if a TIPC node has never successfully established at least one unicast link. Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off

[PATCH 5/14] [TIPC] Optimize wakeup logic when socket has no waiting processes

2006-10-13 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> This patch adds a simple test so TIPC doesn't try waking up processes waiting on a socket if there are none waiting. Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/so

[PATCH 6/14] [TIPC] Remove code bloat introduced by print buffer rework

2006-10-13 Thread Per Liden
lt;[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/core.h |6 +++--- net/tipc/link.c |8 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/net/tipc/core.h b/net/tipc/core.h index 31331e8..e3a74a3 100644 --- a/net/tipc/core.h +++

[PATCH 7/14] [TIPC] Add support for Ethernet VLANs

2006-10-13 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> This patch enhances TIPC's Ethernet support to include VLAN interfaces. Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/core.c |2 +- net/tipc/core.h |8 +

[PATCH 13/14] [TIPC] Unrecognized configuration command now returns error message

2006-10-13 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> This patch causes TIPC to return an error message when it receives an unrecognized configuration command. (Previously, the sender received no feedback.) Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[

Re: [PATCH 1/3] [TIPC] Fixed skb_under_panic caused by tipc_link_bundle_buf

2006-06-30 Thread Per Liden
On Thu, 29 Jun 2006, David Miller wrote: > From: Per Liden <[EMAIL PROTECTED]> > Date: Thu, 29 Jun 2006 17:17:20 +0200 (CEST) > > > A problem was found with this patch. The direct inspection of bundle > > buffer tailroom did not account for the possiblity of unreque

[PATCH 3/3] [TIPC] Initial activation message now includes TIPC version number

2006-06-29 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/core.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/net/tipc/core.c b/net/tipc/core.c index 5003a

[PATCH 2/3] [TIPC] Improve response to requests for node/link information

2006-06-29 Thread Per Liden
utility that issued request. Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/node.c | 26 +- net/tipc/zone.h |4 ++-- 2 files changed, 19 insertions(+), 11 deletions(-) diff --git a/net/tipc

[PATCH 1/3] [TIPC] Fixed skb_under_panic caused by tipc_link_bundle_buf

2006-06-29 Thread Per Liden
fer is allocated. Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/core.h |5 - net/tipc/link.c | 13 - 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/net/tipc/core.h b/net/tipc/co

[PATCH 0/3] TIPC updates (resend)

2006-06-29 Thread Per Liden
This is a resend of this patch set. A problem was found with the direct inspection of bundle buffer tailroom. It 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 en

Re: [PATCH 1/3] [TIPC] Fixed skb_under_panic caused by tipc_link_bundle_buf

2006-06-29 Thread Per Liden
olved. /Per On Wed, 28 Jun 2006, Per Liden wrote: > From: Allan Stephens <[EMAIL PROTECTED]> > > Now determines tailroom of bundle buffer by directly inspection of buffer. > Previously, buffer was assumed to have a max capacity equal to the link MTU, > but the addition of

[PATCH 1/3] [TIPC] Fixed skb_under_panic caused by tipc_link_bundle_buf

2006-06-28 Thread Per Liden
fer is allocated. Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/link.c | 11 ++- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/net/tipc/link.c b/net/tipc/link.c index d646580..c6831c7 100644 ---

[PATCH 0/3] TIPC updates

2006-06-28 Thread Per Liden
This patch set includes three fixes/cleanups. Please see each individual patch for further description. Please pull from: git://tipc.cslab.ericsson.net/pub/git/tipc.git (rebased on linux/kernel/git/davem/net-2.6.git) Summary: net/tipc/core.c |3 ++- net/tipc/link.c | 11 ++-

[PATCH 3/3] [TIPC] Initial activation message now includes TIPC version number

2006-06-28 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/core.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/net/tipc/core.c b/net/tipc/core.c index 5003a

[PATCH 2/3] [TIPC] Improve response to requests for node/link information

2006-06-28 Thread Per Liden
utility that issued request. Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/node.c | 26 +- net/tipc/zone.h |4 ++-- 2 files changed, 19 insertions(+), 11 deletions(-) diff --git a/net/tipc

RE: [PATCH 7/32] [TIPC] Multicast link failure now resets all links to "nacking" node.

2006-06-26 Thread Per Liden
On Thu, 22 Jun 2006, Stephens, Allan wrote: [...] > Per, I'll leave it to you to decide if you want to address James's > concern. But be aware that the link_reset_all() routine is only called > to handle emergency situations when TIPC's multicast link has run into > serious problems and is trying

[PATCH 27/32] [TIPC] Disallow config operations that aren't supported in certain modes.

2006-06-22 Thread Per Liden
ork mode to standalone mode, or from standalone mode to not running mode, is disallowed.) Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/config.c | 83 - 1 files changed, 38 inse

[PATCH 31/32] [TIPC] Get rid of dynamically allocated arrays in broadcast code.

2006-06-22 Thread Per Liden
Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/bcast.c | 41 + 1 files changed, 17 insertions(+), 24 deletions(-) diff --git a/net/tipc/bcast.c b/net/tipc/bcast.c index 1633ef2..5412804 100644 --- a/net/

[PATCH 9/32] [TIPC] Fix for NULL pointer dereference

2006-06-22 Thread Per Liden
in the loop. It seems that the author intended to break there. Signed-off-by: Eric Sesterhenn <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/bcast.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/net/tipc/bcast.c b/net/tipc/bca

[PATCH 26/32] [TIPC] Fixed memory leak in tipc_link_send() when destination is unreachable

2006-06-22 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/link.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/net/tipc/link.c b/net/tipc/link.c inde

[PATCH 1/32] [TIPC] Improved tolerance to promiscuous mode interface

2006-06-22 Thread Per Liden
From: Jon Maloy <[EMAIL PROTECTED]> Signed-off-by: Jon Maloy <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/eth_media.c | 20 +++- 1 files changed, 11 insertions(+), 9 deletions(-) diff --git a/net/tipc/eth_media.c b/net/tipc

[PATCH 2/32] [TIPC] Prevent name table corruption if no room for new publication

2006-06-22 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> Now exits cleanly if attempt to allocate larger array of subsequences fails, without losing track of pointer to existing array. Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net

[PATCH 10/32] [TIPC] Fixed privilege checking typo in dest_name_check().

2006-06-22 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> This patch originated by Stephane Ouellette <[EMAIL PROTECTED]>. Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/socket.c |2 +- 1 files changed, 1 insertions(+), 1

[PATCH 5/32] [TIPC] Allow ports to receive multicast messages through native API.

2006-06-22 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> This fix prevents a kernel panic if an application mistakenly sends a multicast message to TIPC's topology service or configuration service. Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTE

[PATCH 15/32] [TIPC] Fixed connect() to detect a dest address that is missing or too short.

2006-06-22 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/socket.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net/tipc/socket.c b/net/tipc/socket.c inde

[PATCH 12/32] [TIPC] Added support for MODULE_VERSION capability.

2006-06-22 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/core.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/net/tipc/core.c b/net/tipc/core.c index 31c7d

[PATCH 25/32] [TIPC] Added missing warning for out-of-memory condition

2006-06-22 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/port.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/net/tipc/port.c b/net/tipc/port.c index 899e0

[PATCH 21/32] [TIPC] recvmsg() now returns TIPC ancillary data using correct level (SOL_TIPC)

2006-06-22 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/socket.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/net/tipc/socket.c b/net/tipc/socket.c inde

[PATCH 13/32] [TIPC] Validate entire interface name when locating bearer to enable.

2006-06-22 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> This fix prevents a bearer from being enabled using the wrong interface. For example, specifying "eth:eth14" might enable "eth:eth1" by mistake. Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden &

[PATCH 11/32] [TIPC] Fix misleading comment in buf_discard() routine.

2006-06-22 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/core.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net/tipc/core.h b/net/tipc/core.h index d1edb

[PATCH 17/32] [TIPC] Can now return destination name of form {0,x,y} via ancillary data.

2006-06-22 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/socket.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/net/tipc/socket.c b/net/tipc/sock

[PATCH 29/32] [TIPC] Enhanced & cleaned up system messages; fixed 2 obscure memory leaks.

2006-06-22 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/bcast.c |2 + net/tipc/bcast.h |2 + net/tipc/bearer.c | 70 +++--

[PATCH 23/32] [TIPC] Optimized argument validation done by connect().

2006-06-22 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/socket.c | 17 + 1 files changed, 13 insertions(+), 4 deletions(-) diff --git a/net/tipc/socket.c b/net/t

[PATCH 19/32] [TIPC] Stream socket send indicates partial success if data partially sent.

2006-06-22 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/socket.c | 18 +++--- 1 files changed, 11 insertions(+), 7 deletions(-) diff --git a/net/tipc/socket.c b/net/t

[PATCH 18/32] [TIPC] Connected send now checks socket state when retrying congested send.

2006-06-22 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/socket.c | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/net/tipc/socket.c b/net/t

[PATCH 4/32] [TIPC] Corrected potential misuse of tipc_media_addr structure.

2006-06-22 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- include/net/tipc/tipc_bearer.h | 12 ++-- net/tipc/eth_media.c |4 +++- 2 files changed, 13 insertions(+), 3

[PATCH 16/32] [TIPC] Implied connect now saves dest name for retrieval as ancillary data.

2006-06-22 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/socket.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/net/tipc/socket.c b/net/tipc/sock

[PATCH 14/32] [TIPC] Non-operation-affecting corrections to comments & function definitions.

2006-06-22 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/socket.c | 12 +++- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/net/tipc/socket.c b/net/tipc/sock

[PATCH 28/32] [TIPC] First phase of assert() cleanup

2006-06-22 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> This also contains enhancements to simplify comparisons in name table publication removal algorithm and to simplify name table sanity checking when shutting down TIPC. Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per L

[PATCH 8/32] [TIPC] Allow compilation when CONFIG_TIPC_DEBUG is not set.

2006-06-22 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/core.h | 19 ++- 1 files changed, 14 insertions(+), 5 deletions(-) diff --git a/net/tipc/core.h b/net/tipc/co

[PATCH 22/32] [TIPC] Simplify code for returning partial success of stream send request.

2006-06-22 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/socket.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/tipc/socket.c b/net/tipc/socket.c inde

[PATCH 3/32] [TIPC] Use correct upper bound when validating network zone number.

2006-06-22 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/core.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net/tipc/core.c b/net/tipc/core.c index 3d0a8

[PATCH 6/32] [TIPC] Links now validate destination node specified by incoming messages.

2006-06-22 Thread Per Liden
ng two different destination values, requiring the receiving node to filter out the unwanted messages.) Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/link.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) dif

[PATCH 7/32] [TIPC] Multicast link failure now resets all links to "nacking" node.

2006-06-22 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> This fix prevents node from crashing. Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/bcast.c | 32 +++--- net/t

[PATCH 20/32] [TIPC] Improved performance of error checking during socket creation.

2006-06-22 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/socket.c |9 +++-- 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/net/tipc/socket.c b/net/tipc/sock

[PATCH 30/32] [TIPC] Fixed link switchover bugs

2006-06-22 Thread Per Liden
ed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/link.c | 30 -- net/tipc/node.c |7 +-- net/tipc/node.h |2 ++ 3 files changed, 31 insertions(+), 8 deletions(-) diff --git a/net/tipc

[PATCH 32/32] [TIPC] Fix incorrect correction to discovery timer frequency computation.

2006-06-22 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/discover.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/net/tipc/discover.c b/net/tipc/discov

[PATCH 24/32] [TIPC] Withdrawing all names from nameless port now returns success, not error

2006-06-22 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/port.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/net/tipc/port.c b/net/tipc/port.c index 36092

[PATCH 0/32] TIPC updates

2006-06-22 Thread Per Liden
Here's a resend of the latest TIPC updates. I apologize for not properly submitting the patches for review the first time around. This patch set includes several minor bugfixes. Most of them ported over from an older TIPC 1.5.x branch maintained on sourceforge (that branch is being phased). Pa

[GIT PATCH] TIPC updates

2006-06-20 Thread Per Liden
[TIPC] Fixed link switchover bugs [TIPC] Get rid of dynamically allocated arrays in broadcast code. Eric Sesterhenn: [TIPC] Fix for NULL pointer dereference Per Liden: [TIPC] Fixed incorrect access permissions - To unsubscribe from this list: send the line "unsubscribe netd

Re: [GIT PATCH] TIPC updates

2006-03-08 Thread Per Liden
On Wed, 8 Mar 2006, David S. Miller wrote: > From: Per Liden <[EMAIL PROTECTED]> > Date: Wed, 8 Mar 2006 11:18:15 +0100 (CET) > > > Here is a set of patches for net-2.6.17. > > > > Please pull from: > > > > git://tipc.cslab.ericsson.net/pub/git/

[GIT PATCH] TIPC updates

2006-03-08 Thread Per Liden
: Per Liden <[EMAIL PROTECTED]> Date: Thu Feb 9 12:46:56 2006 +0100 [TIPC] reduce stack usage The node_map struct can be quite large (516 bytes) and allocating two of them on the stack is not a good idea since we might only have a 4K stack to start with. Signed-

Re: [2.6 patch] net/tipc/: possible cleanups

2006-02-07 Thread Per Liden
On Sat, 4 Feb 2006, Adrian Bunk wrote: > This patch contains the following possible cleanups: > - make needlessly global code static Good catch. > - #if 0 the following unused global functions: > - name_table.c: tipc_nametbl_print() > - name_table.c: tipc_nametbl_dump() > - net.c: tipc_net

Re: RFC: tipc: remove inlines from *.c

2006-01-20 Thread Per Liden
On Fri, 20 Jan 2006, Sam Ravnborg wrote: > With reference to latest discussions on linux-kernel with respect to > inline here is a patch for tipc to remove all inlines as used in > the .c files. See also chapter 14 in Documentation/CodingStyle. > > Before: >text data bss dec

Re: tipc: fix simple sparse warnings

2006-01-20 Thread Per Liden
On Thu, 19 Jan 2006, Sam Ravnborg wrote: > 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

Re: TIPC needs some cleanup

2006-01-19 Thread Per Liden
Hi Stephen, On Tue, 17 Jan 2006, Stephen Hemminger wrote: [...] > Also, let's work with the current code. It is a lot easier to let others > clean it up, if the changes are against the mainline (or -mm) rather than > having to send it off to get put into yet another git repo. To make sure we wor

[GIT PATCHES] TIPC fixes

2006-01-17 Thread Per Liden
insertions(+), 1709 deletions(-) commit 4323add67792ced172d0d93b8b2e6187023115f1 Author: Per Liden <[EMAIL PROTECTED]> Date: Wed Jan 18 00:38:21 2006 +0100 [TIPC] Avoid polluting the global namespace This patch adds a tipc_ prefix to all externally visible symbols.

Re: TIPC needs some cleanup

2006-01-17 Thread Per Liden
On Tue, 17 Jan 2006, Stephen Hemminger wrote: > TIPC got added to 2.6.16-rc1, but needs some work. > > Look at some of the global symbols, from tipc.ko > Standard practice is to restrict the namespace of modules to a small > set of prefixes (like tipc_). Yep, we are aware of the problem as Jamal

Re: [PATCH] genetlink: don't touch module ref count

2006-01-13 Thread Per Liden
On Fri, 13 Jan 2006, David S. Miller wrote: > From: Per Liden <[EMAIL PROTECTED]> > Date: Fri, 13 Jan 2006 21:56:53 +0100 (CET) > > > Signed-off-by: Per Liden <[EMAIL PROTECTED]> > > BTW, don't do this, it should be a perfectly functioning > email ad

Re: [PATCH] genetlink: don't touch module ref count

2006-01-13 Thread Per Liden
On Fri, 13 Jan 2006, David S. Miller wrote: > From: Jamal Hadi Salim <[EMAIL PROTECTED]> > Date: Fri, 13 Jan 2006 09:30:27 -0500 > > > On Fri, 2006-13-01 at 09:27 +0100, Per Liden wrote: > > > Increasing the module ref count at registration will block the module

Re: [PATCH] genetlink: don't touch module ref count

2006-01-13 Thread Per Liden
Hi Thomas, On Fri, 13 Jan 2006, Thomas Graf wrote: > * Per Liden <[EMAIL PROTECTED]> 2006-01-13 09:27 > > Increasing the module ref count at registration will block the module from > > ever being unloaded. In fact, genetlink should not care about the owner at > >

[PATCH] genetlink: don't touch module ref count

2006-01-13 Thread Per Liden
Increasing the module ref count at registration will block the module from ever being unloaded. In fact, genetlink should not care about the owner at all. This patch removes the owner field from the struct registered with genetlink. Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- inclu