summaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_user.c
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2008-01-07 23:22:53 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-08 23:30:20 -0800
commit2e3884b5b16795c03a7bf295797c1b2402885b88 (patch)
tree0f94e5236942b753d00bdbada1e49d46fd7e298d /net/xfrm/xfrm_user.c
parent1d39da3dcaad4231f0fa75024b1d6d710a2ced74 (diff)
downloadlinux-2e3884b5b16795c03a7bf295797c1b2402885b88.tar.gz
linux-2e3884b5b16795c03a7bf295797c1b2402885b88.tar.bz2
linux-2e3884b5b16795c03a7bf295797c1b2402885b88.zip
[FORCEDETH]: Fix reversing the MAC address on suspend.
For cards that initially have the MAC address stored in reverse order, the forcedeth driver uses a flag to signal whether the address was already corrected, so that it is not reversed again on a subsequent probe. Unfortunately this flag, which is stored in a register of the card, seems to get lost during suspend, resulting in the MAC address being reversed again. To fix that, the MAC address needs to be written back in reversed order before we suspend and the flag needs to be reset. The flag is still required because at least kexec will never write back the reversed address and thus needs to know what state the card is in. Signed-off-by: Björn Steinbrink <B.Steinbrink@gmx.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_user.c')
0 files changed, 0 insertions, 0 deletions