summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2013-07-18 09:35:10 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-28 16:30:05 -0700
commit5110890cbfa0c783cb727d6a2fbf36ce8560f9a5 (patch)
tree75e99f3f4b5340447065445634d2359c16be03a8 /arch
parent37b25f3f99d52710de567c5ff880824bb576121c (diff)
downloadlinux-3.10-5110890cbfa0c783cb727d6a2fbf36ce8560f9a5.tar.gz
linux-3.10-5110890cbfa0c783cb727d6a2fbf36ce8560f9a5.tar.bz2
linux-3.10-5110890cbfa0c783cb727d6a2fbf36ce8560f9a5.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')
0 files changed, 0 insertions, 0 deletions