Re: Null pointer dereference in bonding driver, kernel 2.6.24

2008-01-31 Thread Jay Vosburgh
Chuck Ebbert <[EMAIL PROTECTED]> wrote: >In bond_main.c: > >int bond_create(char *name, struct bond_params *params, struct bonding >**newbond) >{ >... >/* Check to see if the bond already exists. */ >list_for_each_entry_safe(bond, nxt, &bond_dev_list, bond_list) >i

Null pointer dereference in bonding driver, kernel 2.6.24

2008-01-31 Thread Chuck Ebbert
In bond_main.c: int bond_create(char *name, struct bond_params *params, struct bonding **newbond) { ... /* Check to see if the bond already exists. */ list_for_each_entry_safe(bond, nxt, &bond_dev_list, bond_list) if (strnicmp(bond->dev->name, name, IFNAMSIZ) == 0)