summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorTim Hansen <devtimhansen@gmail.com>2017-11-16 12:03:34 -0500
committerDavid S. Miller <davem@davemloft.net>2017-11-18 10:32:41 +0900
commit17e48577752a61197a7e5f4922db45b3a5af5068 (patch)
tree8b9fddba42a8efb82ed8cf2f7e9d62e8717591b6 /net
parent58fedcade126c16cf466a0dd1bc59312e1a6b6f1 (diff)
net/netlabel: Add list_next_rcu() in rcu_dereference().
Add list_next_rcu() for fetching next list in rcu_deference safely. Found with sparse in linux-next tree on tag next-20171116. Signed-off-by: Tim Hansen <devtimhansen@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/netlabel/netlabel_addrlist.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netlabel/netlabel_addrlist.h b/net/netlabel/netlabel_addrlist.h
index d0f38bc9af6d..ac709f0f197b 100644
--- a/net/netlabel/netlabel_addrlist.h
+++ b/net/netlabel/netlabel_addrlist.h
@@ -87,7 +87,7 @@ static inline struct netlbl_af4list *__af4list_valid_rcu(struct list_head *s,
struct list_head *i = s;
struct netlbl_af4list *n = __af4list_entry(s);
while (i != h && !n->valid) {
- i = rcu_dereference(i->next);
+ i = rcu_dereference(list_next_rcu(i));
n = __af4list_entry(i);
}
return n;
@@ -154,7 +154,7 @@ static inline struct netlbl_af6list *__af6list_valid_rcu(struct list_head *s,
struct list_head *i = s;
struct netlbl_af6list *n = __af6list_entry(s);
while (i != h && !n->valid) {
- i = rcu_dereference(i->next);
+ i = rcu_dereference(list_next_rcu(i));
n = __af6list_entry(i);
}
return n;
2-1'>libreoffice-4-2-1 Unnamed repository; edit this file to name it for gitweb.root
summaryrefslogtreecommitdiff
path: root/source
AgeCommit message (Expand)AuthorFilesLines
2016-07-07update translations for 5.2.0 rc2Christian Lohmaier1721-28799/+40622
2016-06-22Updated Slovenian translationAndras Timar17-232/+165
2016-06-21update translations for 5.2.0 rc1Christian Lohmaier658-12189/+8793
2016-06-18Updated Slovenian translationAndras Timar5-1346/+209
2016-06-13Updated Slovenian translationAndras Timar30-3286/+454
2016-06-07update translations for 5.2.0 beta2Christian Lohmaier897-15281/+11098
2016-06-06Updated Slovenian translationAndras Timar56-2229/+4877
2016-05-25update translations mainly for pl (merged from 51)libreoffice-5-2-branch-pointcp-5.1-branch-pointChristian Lohmaier109-2039/+1513
2016-05-25auto de-fuzz strings with change in context only for slChristian Lohmaier11-4200/+0
2016-05-25update translations for 5.2.0 beta1Christian Lohmaier5261-207074/+283350
2016-05-24Updated Slovenian translationAndras Timar59-1920/+2363
2016-05-07update translations for masterChristian Lohmaier1539-215841/+22587
2016-04-21update translations for 5.2.0 alpha1Christian Lohmaier9421-1352231/+1117288
2016-04-16Updated Slovenian translationAndras Timar23-350/+256
2016-04-15Updated Slovenian translationAndras Timar72-1286/+1830
2016-03-29Updated Slovenian translationAndras Timar82-12818/+13862
2016-02-29update translations for 5.1.1 rc3Christian Lohmaier199-5612/+4522
2016-02-27Add missing #: globlmn_tmpl.hrcJulien Nabet11-1/+12
2016-02-24po update for 5.1.1 RC2jan iversen429-8791/+7068
2016-02-10update translations for 5.1.1 rc1Christian Lohmaier840-9555/+15897
2016-02-07Updated Slovenian translationAndras Timar4-17/+92
2016-01-27update translations for 5.1.0 rc3Christian Lohmaier597-13025/+10240
2016-01-26Updated Slovenian translationAndras Timar4-22/+13
2016-01-13Updated Slovenian translationAndras Timar46-952/+1057
2016-01-13update translations for 5.1.0 rc2Christian Lohmaier1526-33381/+50156
2015-12-15update translations for 5.1.0 rc1Christian Lohmaier1766-72665/+44745
2015-12-03update translations for 5.1.0 beta2Christian Lohmaier344-8696/+5518
2015-11-25Update translations for master and force-fix errors using pochecklibreoffice-5-1-branch-pointRobinson Tryon6553-343235/+502169
2015-11-18Updated Slovenian translationAndras Timar54-1027/+992
2015-11-16Updated Slovenian translationAndras Timar81-3220/+16028
2015-11-10update translations for masterChristian Lohmaier487-9484/+8379
2015-10-17Update translations for master and force-fix errors using pocheckRobinson Tryon956-24641/+19389
2015-09-25Updated Slovenian translationAndras Timar67-1955/+4104
2015-09-03update translations for masterChristian Lohmaier4082-144940/+487111
2015-08-12update translationsChristian Lohmaier9331-325093/+1643850
2015-07-08interim typo fix NETTORABEITSTAGE -> NETTOARBEITSTAGEEike Rathke1-1/+1
2015-05-19update translations for 5.0.0 beta1libreoffice-5-0-branch-pointChristian Lohmaier7152-582371/+682677
2015-05-18Updated Slovenian translationAndras Timar28-198/+230
2015-05-14Updated Slovenian translationAndras Timar32-836/+807
2015-04-24Updated Slovenian translationAndras Timar41-333/+301
2015-04-19update translations for 5.0.0 Alpha1Christian Lohmaier9729-968658/+364260
2015-04-16Updated Slovenian translationAndras Timar56-515/+794
2015-03-19Updated Slovenian translationAndras Timar