diff options
| author | Georgi Djakov <[email protected]> | 2019-10-18 14:17:50 +0000 |
|---|---|---|
| committer | Georgi Djakov <[email protected]> | 2019-10-20 09:14:41 +0000 |
| commit | a8dfe193a60c6db7c54e03e3f1b96e0aa7244990 (patch) | |
| tree | 0ef5f149ec3a97cba10ff97b3409e560e269c6e1 /drivers/net/xen-netback/interface.c | |
| parent | interconnect: qcom: Fix icc_onecell_data allocation (diff) | |
| download | kernel-a8dfe193a60c6db7c54e03e3f1b96e0aa7244990.tar.gz kernel-a8dfe193a60c6db7c54e03e3f1b96e0aa7244990.zip | |
interconnect: Add locking in icc_set_tag()
We must ensure that the tag is not changed while we aggregate the
requests. Currently the icc_set_tag() is not using any locks and this
may cause the values to be aggregated incorrectly. Fix this by acquiring
the icc_lock while we set the tag.
Link: https://lore.kernel.org/lkml/[email protected]/
Fixes: 127ab2cc5f19 ("interconnect: Add support for path tags")
Reviewed-by: Bjorn Andersson <[email protected]>
Signed-off-by: Georgi Djakov <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
