[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150708.160959.1934913240632137548.davem@davemloft.net>
Date: Wed, 08 Jul 2015 16:09:59 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: mugunthanvnm@...com
Cc: netdev@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [net PATCH 1/1] drivers: net: cpsw: fix crash while accessing
second slave ethernet interface
From: Mugunthan V N <mugunthanvnm@...com>
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@...com>
> Cc: <stable@...r.kernel.org> # v3.8+
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists