diff options
author | Ying Xue <ying.xue@windriver.com> | 2014-12-02 08:00:27 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-09 02:39:57 +0100 |
commit | 3493d25cfb5eee9d0045c2720878a26dcbeafa73 (patch) | |
tree | 3ab9f31d9cae7587e23b80631f093bcca7146fb6 /REPORTING-BUGS | |
parent | tipc: ensure all name sequences are properly protected with its lock (diff) | |
download | linux-3493d25cfb5eee9d0045c2720878a26dcbeafa73.tar.xz linux-3493d25cfb5eee9d0045c2720878a26dcbeafa73.zip |
tipc: any name table member must be protected under name table lock
As tipc_nametbl_lock is used to protect name_table structure, the lock
must be held while all members of name_table structure are accessed.
However, the lock is not obtained while a member of name_table
structure - local_publ_count is read in tipc_nametbl_publish(), as
a consequence, an inconsistent value of local_publ_count might be got.
Signed-off-by: Ying Xue <ying.xue@windriver.com>
Reviewed-by: Erik Hugne <erik.hugne@ericsson.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Tested-by: Erik Hugne <erik.hugne@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions