Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
davinci_emac: fix kernel oops when changing MAC address while interfa…
…ce is down 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 <[email protected]> Signed-off-by: Chaithrika U S <[email protected]> Tested-by: Chaithrika U S <[email protected]> [tested on DM6467 EVM] Signed-off-by: David S. Miller <[email protected]>
- Loading branch information