Re: [net PATCH 1/1] drivers: net: cpsw: fix crash while accessing second slave ethernet interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Mugunthan V N <mugunthanvnm@xxxxxx>
Date: Tue, 7 Jul 2015 18:30:39 +0530

> When cpsw's number of slave is set to 1 in device tree and while
> accessing second slave ndev and priv in cpsw_tx_interrupt(),
> there is a kernel crash. This is due to cpsw_get_slave_priv()
> not verifying number of slaves while retriving netdev priv and
> returns a invalid memory region. Fixing the issue by introducing
> number of slave check in cpsw_get_slave_priv() and
> cpsw_get_slave_ndev().
...
> Signed-off-by: Mugunthan V N <mugunthanvnm@xxxxxx>
> Cc: <stable@xxxxxxxxxxxxxxx> # v3.8+

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]