> Hi Joe,
>
> On 1/12/07, joe jin <[EMAIL PROTECTED]> wrote:
> > @@ -788,7 +786,7 @@ static int rlb_initialize(struct bonding
> >
> > spin_lock_init(&(bond_info->rx_hashtbl_lock));
> >
> > - new_hashtbl = kmalloc(size, GFP_KERNEL);
> > + new_hashtbl = kzalloc(size,
Hi Joe,
On 1/12/07, joe jin [EMAIL PROTECTED] wrote:
@@ -788,7 +786,7 @@ static int rlb_initialize(struct bonding
spin_lock_init((bond_info-rx_hashtbl_lock));
- new_hashtbl = kmalloc(size, GFP_KERNEL);
+ new_hashtbl = kzalloc(size, GFP_KERNEL);
if
Hi Joe,
On 1/12/07, joe jin <[EMAIL PROTECTED]> wrote:
@@ -788,7 +786,7 @@ static int rlb_initialize(struct bonding
spin_lock_init(&(bond_info->rx_hashtbl_lock));
- new_hashtbl = kmalloc(size, GFP_KERNEL);
+ new_hashtbl = kzalloc(size, GFP_KERNEL);
if
This patch replace kmalloc() + memset() pairs with the appropriate
kzalloc() calls.
Signed-off-by: Joe Jin <[EMAIL PROTECTED]>
--
diff -urNp old/drivers/net/bonding/bond_alb.c
new/drivers/net/bonding/bond_alb.c
--- old/drivers/net/bonding/bond_alb.c 2006-11-30 05:57:37.0
+0800
+++
This patch replace kmalloc() + memset() pairs with the appropriate
kzalloc() calls.
Signed-off-by: Joe Jin [EMAIL PROTECTED]
--
diff -urNp old/drivers/net/bonding/bond_alb.c
new/drivers/net/bonding/bond_alb.c
--- old/drivers/net/bonding/bond_alb.c 2006-11-30 05:57:37.0
+0800
+++
Hi Joe,
On 1/12/07, joe jin [EMAIL PROTECTED] wrote:
@@ -788,7 +786,7 @@ static int rlb_initialize(struct bonding
spin_lock_init((bond_info-rx_hashtbl_lock));
- new_hashtbl = kmalloc(size, GFP_KERNEL);
+ new_hashtbl = kzalloc(size, GFP_KERNEL);
if (!new_hashtbl) {
6 matches
Mail list logo