fec.c: Fix memory corruption in fec_set_mac_address.
PATCH 1/1 fec.c: Fix memory corruption in fec_set_mac_address.
Fix memory corruption that may result in kernel panics.
Signed-off-by Mattias Walstr?m <[email protected]>
fec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/fec.c +1 -1
@@ -1653,7 +1653,7 @@ fec_set_mac_address(struct net_device *dev, void *p) (dev->dev_addr[1 ] <<16 ) | (dev->dev_addr[0 ] <<24 ), fep->hwp + FEC_ADDR_LOW);writel ((dev->dev_addr[5 ] <<16 ) | (dev->dev_addr[4 ] <<24 ), - fep +FEC_ADDR_HIGH ); + fep->hwp +FEC_ADDR_HIGH );return 0 ; }
PATCH 1/1 fec.c: Fix memory corruption in fec_set_mac_address.
Hi Mattias,
Quoted 4 lines · Mattias Walstrom
Fix memory corruption that may result in kernel panics.
Signed-off-by Mattias Walstr?m <[email protected]>
You might want to send this to netdev and make sure to keep the diffstat out of the changelog.
Best regards
Uwe
Signature · 2 lines
Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ |
PATCH 1/1 fec.c: Fix memory corruption in fec_set_mac_address.
Hi Uwe, Mattias,
Quoted 7 lines · Uwe Kleine-K?nig
Quoted 4 lines · Mattias Walstrom
Fix memory corruption that may result in kernel panics.
Signed-off-by Mattias Walstr?m <[email protected]>You might want to send this to netdev and make sure to keep the diffstat out of the changelog.
This is already applied upstream (7cff0943a).
baruch
Signature · 3 lines
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -