[TIPC]: Improve response to requests for node/link information
authorAllan Stephens <allan.stephens@windriver.com>
Thu, 29 Jun 2006 19:33:20 +0000 (12:33 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 30 Jun 2006 00:08:15 +0000 (17:08 -0700)
commitea13847b240e689e8f291355c36b46de9f44ddf9
tree058a74fadfaf762587567ff59d87ae18db4c9d68
parente49060c7cab6ca856d048e1e10d71c0e6fedf376
[TIPC]: Improve response to requests for node/link information

Now allocates reply space for "get links" request based on number of actual
links, not number of potential links.  Also, limits reply to "get links" and
"get nodes" requests to 32KB to match capabilities of tipc-config utility
that issued request.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Per Liden <per.liden@ericsson.com>
net/tipc/node.c
net/tipc/zone.h