diff options
author | Pablo Bitton <pablo.bitton@gmail.com> | 2009-07-08 04:11:10 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-07-08 19:46:44 +0200 |
commit | 64c8165b44a91c09b19afb4110610ed242286639 (patch) | |
tree | b7e4754f6280248b5444d4ff908c29684307ca11 /Documentation | |
parent | igb: set lan id prior to configuring phy (diff) | |
download | linux-64c8165b44a91c09b19afb4110610ed242286639.tar.xz linux-64c8165b44a91c09b19afb4110610ed242286639.zip |
davinci_emac: fix kernel oops when changing MAC address while interface 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 <pablo.bitton@gmail.com>
Signed-off-by: Chaithrika U S <chaithrika@ti.com>
Tested-by: Chaithrika U S <chaithrika@ti.com>
[tested on DM6467 EVM]
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions