From: Eric Dumazet Date: Thu, 18 Jul 2013 16:35:10 +0000 (-0700) Subject: vlan: fix a race in egress prio management X-Git-Tag: v3.11-rc2~14^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e3aac497513c669e1c62c71e1d552ea85c1d974;p=pandora-kernel.git 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 Cc: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed