[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 2/3] net: split eth_mac_addr for better error
From: |
David Miller |
Subject: |
Re: [Qemu-devel] [PATCH v4 2/3] net: split eth_mac_addr for better error handling |
Date: |
Sun, 20 Jan 2013 23:14:32 -0500 (EST) |
From: address@hidden
Date: Sun, 20 Jan 2013 10:43:08 +0800
> From: Stefan Hajnoczi <address@hidden>
>
> When we set mac address, software mac address in system and hardware mac
> address all need to be updated. Current eth_mac_addr() doesn't allow
> callers to implement error handling nicely.
>
> This patch split eth_mac_addr() to prepare part and real commit part,
> then we can prepare first, and try to change hardware address, then do
> the real commit if hardware address is set successfully.
>
> Signed-off-by: Stefan Hajnoczi <address@hidden>
> Signed-off-by: Amos Kong <address@hidden>
This patch doesn't apply to net-next.