diff options
author | Eric Dumazet <edumazet@google.com> | 2013-07-18 09:35:10 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-28 16:18:43 -0700 |
commit | f45a0233de990dc788371b54f23a8986a23bfa4a (patch) | |
tree | 2799d6fd3b02c675d6a650910f291ab292edbd62 /arch/arm/mach-omap1/reset.c | |
parent | 8956c3efefa2a61df16a47ba4f159e3d49717858 (diff) | |
download | kernel_samsung_smdk4412-f45a0233de990dc788371b54f23a8986a23bfa4a.tar.gz kernel_samsung_smdk4412-f45a0233de990dc788371b54f23a8986a23bfa4a.tar.bz2 kernel_samsung_smdk4412-f45a0233de990dc788371b54f23a8986a23bfa4a.zip |
vlan: fix a race in egress prio management
[ Upstream commit 3e3aac497513c669e1c62c71e1d552ea85c1d974 ]
egress_priority_map[] hash table updates are protected by rtnl,
and we never remove elements until device is dismantled.
We have to make sure that before inserting an new element in hash table,
all its fields are committed to memory or else another cpu could
find corrupt values and crash.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm/mach-omap1/reset.c')
0 files changed, 0 insertions, 0 deletions