[PATCH v2.1] davinci_emac: fix kernel oops when changing MAC address while interface is down

2009-07-07 Thread Pablo Bitton
Check that network interface is running before changing its MAC address. Otherwise, rxch is accessed when it's NULL - causing a kernel oops. Moreover, check that the new MAC address is valid. Signed-off-by: Pablo Bitton pablo.bit...@gmail.com Signed-off-by: Chaithrika U S chaithr...@ti.com

Re: [PATCH v2.1] davinci_emac: fix kernel oops when changing MAC address while interface is down

2009-07-07 Thread Pablo Bitton
Hi, I've resubmitted this patch since my email client has corrupted the v2 patch, turning TAB characters into spaces. Hopefully, this won't happen again. On Tue, Jul 7, 2009 at 9:10 AM, Pablo Bittonpablo.bit...@gmail.com wrote: Check that network interface is running before changing its MAC