Re: [PATCH 3/3] netlink: use a statically allocated nl_table instead

2007-09-16 Thread David Miller
From: Denis Cheng <[EMAIL PROTECTED]> Date: Sun, 2 Sep 2007 03:45:59 +0800 > if the table is always fixed size with MAX_LINKS entries, why not use a > statically > allocated table straightforwardly? > > Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> I made the explicit decision to dynamically

Re: [PATCH 3/3] netlink: use a statically allocated nl_table instead

2007-09-16 Thread David Miller
From: Denis Cheng [EMAIL PROTECTED] Date: Sun, 2 Sep 2007 03:45:59 +0800 if the table is always fixed size with MAX_LINKS entries, why not use a statically allocated table straightforwardly? Signed-off-by: Denis Cheng [EMAIL PROTECTED] I made the explicit decision to dynamically allocate

[PATCH 3/3] netlink: use a statically allocated nl_table instead

2007-09-01 Thread Denis Cheng
if the table is always fixed size with MAX_LINKS entries, why not use a statically allocated table straightforwardly? Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- net/netlink/af_netlink.c | 11 ++- 1 files changed, 2 insertions(+), 9 deletions(-) diff --git

[PATCH 3/3] netlink: use a statically allocated nl_table instead

2007-09-01 Thread Denis Cheng
if the table is always fixed size with MAX_LINKS entries, why not use a statically allocated table straightforwardly? Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- net/netlink/af_netlink.c | 11 ++- 1 files changed, 2 insertions(+), 9 deletions(-) diff --git