aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorPablo Bitton <[email protected]>2009-07-07 19:11:10 -0700
committerDavid S. Miller <[email protected]>2009-07-08 10:46:44 -0700
commit64c8165b44a91c09b19afb4110610ed242286639 (patch)
treeb7e4754f6280248b5444d4ff908c29684307ca11 /net/lapb/lapb_subr.c
parent19e588e7d156cc4415585edd8c27c3075f62eaf8 (diff)
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 <[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]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions