commit | b76238168991f8b000c90ba053f6f125e4cf1e8c | [log] [tgz] |
---|---|---|
author | Daode Huang <huangdaode@hisilicon.com> | Tue Jun 21 11:56:31 2016 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 21 04:51:55 2016 -0400 |
tree | 6026356b91fc06fbd05463878d666d443ec70a1f | |
parent | 379d3954923537df4d895cb9d1ce36d8a7888d17 [diff] |
net: hns: add spin lock for tcam table operation This patch adds spin lock for tcam table operation, there maybe a race condition happens when more than one thread try to change the tcam talbe entries. Signed-off-by: Daode Huang <huangdaode@hisilicon.com> Signed-off-by: Yisen Zhuang <Yisen.Zhuang@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>