Revision 3e3aac497513c669e1c62c71e1d552ea85c1d974 authored by Eric Dumazet on 18 July 2013, 16:35:10 UTC, committed by David S. Miller on 18 July 2013, 20:07:13 UTC
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>
1 parent d4b812d
History
File Mode Size
nfc-hci.txt -rw-r--r-- 12.6 KB
nfc-pn544.txt -rw-r--r-- 1.1 KB

back to top