diff options
author | Eric Dumazet <edumazet@google.com> | 2013-07-18 09:35:10 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-07-18 13:07:13 -0700 |
commit | 3e3aac497513c669e1c62c71e1d552ea85c1d974 (patch) | |
tree | 3bedf6a0f9585d0279f8a791998a29d70214fea9 /include | |
parent | d4b812dea4a236f729526facf97df1a9d18e191c (diff) | |
download | linux-3e3aac497513c669e1c62c71e1d552ea85c1d974.tar.gz linux-3e3aac497513c669e1c62c71e1d552ea85c1d974.tar.bz2 linux-3e3aac497513c669e1c62c71e1d552ea85c1d974.zip |
vlan: fix a race in egress prio management
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions