From 443d6e86f821a165fae3fc3fc13086d27ac140b1 Mon Sep 17 00:00:00 2001 From: Subash Abhinov Kasiviswanathan Date: Wed, 16 Dec 2020 21:38:02 -0700 Subject: netfilter: x_tables: Update remaining dereference to RCU This fixes the dereference to fetch the RCU pointer when holding the appropriate xtables lock. Reported-by: kernel test robot Fixes: cc00bcaa5899 ("netfilter: x_tables: Switch synchronization to RCU") Signed-off-by: Subash Abhinov Kasiviswanathan Reviewed-by: Florian Westphal Signed-off-by: Pablo Neira Ayuso --- net/ipv6/netfilter/ip6_tables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/ipv6/netfilter') diff --git a/net/ipv6/netfilter/ip6_tables.c b/net/ipv6/netfilter/ip6_tables.c index c4f532f4d311..0d453fa9e327 100644 --- a/net/ipv6/netfilter/ip6_tables.c +++ b/net/ipv6/netfilter/ip6_tables.c @@ -1598,7 +1598,7 @@ compat_get_entries(struct net *net, struct compat_ip6t_get_entries __user *uptr, xt_compat_lock(AF_INET6); t = xt_find_table_lock(net, AF_INET6, get.name); if (!IS_ERR(t)) { - const struct xt_table_info *private = t->private; + const struct xt_table_info *private = xt_table_get_private_protected(t); struct xt_table_info info; ret = compat_table_info(private, &info); if (!ret && get.size == info.size) -- cgit v1.2.3 board'>dashboard Mirror of https://github.com/nextcloud/newsmatthias
summaryrefslogtreecommitdiffstats
blob: f8a96a493a002624ee2e00a64c0c3114c8915926 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
{
    "_readme": [
        "This file locks the dependencies of your project to a known state",
        "Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
        "This file is @generated automatically"
    ],
    "hash": "3cbce8173a1c93656be80baf11715718",
    "packages": [
        {
            "name": "ezyang/htmlpurifier",
            "version": "v4.6.0",
            "source": {
                "type": "git",
                "url": "https://github.com/ezyang/htmlpurifier.git",
                "reference": "6f389f0f25b90d0b495308efcfa073981177f0fd"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/ezyang/htmlpurifier/zipball/6f389f0f25b90d0b495308efcfa073981177f0fd",
                "reference": "6f389f0f25b90d0b495308efcfa073981177f0fd",
                "shasum": ""
            },
            "require": {
                "php": ">=5.2"
            },
            "type": "library",
            "autoload": {
                "psr-0": {
                    "HTMLPurifier": "library/"
                },
                "files": [
                    "library/HTMLPurifier.composer.php"
                ]
            },
            "notification-url": "https://packagist.org/downloads/",
            "license": [
                "LGPL"
            ],
            "authors": [
                {
                    "name": "Edward Z. Yang",
                    "email": "admin@htmlpurifier.org",
                    "homepage": "http://ezyang.com",
                    "role": "Developer"
                }
            ],
            "description": "Standards compliant HTML filter written in PHP",
            "homepage": "http://htmlpurifier.org/",
            "keywords": [
                "html"
            ],
            "time": "2013-11-30 08:25:19"
        },
        {
            "name": "fguillot/picofeed",
            "version": "v0.1.0",
            "source": {
                "type": "git",
                "url": "https://github.com/fguillot/picoFeed.git",
                "reference": "d36a878e912a04c15f49da97e8d627280ae6918c"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/fguillot/picoFeed/zipball/d36a878e912a04c15f49da97e8d627280ae6918c",
                "reference": "d36a878e912a04c15f49da97e8d627280ae6918c",
                "shasum": ""
            },
            "require": {
                "php": ">=5.3.0"
            },
            "type": "library",
            "autoload": {
                "psr-0": {
                    "PicoFeed": "lib/"
                }
            },
            "notification-url": "https://packagist.org/downloads/",
            "license": [
                "Unlicense"
            ],
            "authors": [
                {
                    "name": "Frédéric Guillot",
                    "homepage": "http://fredericguillot.com"
                }
            ],
            "description": "Modern library to write or read feeds (RSS/Atom)",
            "homepage": "http://fguillot.github.io/picoFeed",
            "time": "2014-11-08 14:43:27"
        },
        {
            "name": "pear/net_url2",
            "version": "v2.1.0",
            "source": {
                "type": "git",
                "url": "https://github.com/pear/Net_URL2.git",
                "reference": "a124592fbc24d6f20a3138f39458a6002d1f1443"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/pear/Net_URL2/zipball/a124592fbc24d6f20a3138f39458a6002d1f1443",
                "reference": "a124592fbc24d6f20a3138f39458a6002d1f1443",
                "shasum": ""
            },
            "require": {
                "php": ">=5.1.4"
            },
            "require-dev": {
                "phpunit/phpunit": ">=3.3.0"
            },
            "type": "library",
            "extra": {
                "branch-alias": {
                    "dev-master": "2.0.x-dev"
                }
            },
            "autoload": {
                "psr-0": {
                    "Net": ""
                }
            },
            "notification-url": "https://packagist.org/downloads/",
            "include-path": [
                "./"
            ],
            "license": [
                "BSD-3-Clause"
            ],
            "authors": [
                {
                    "name": "David Coallier",
                    "email": "davidc@php.net"
                },
                {
                    "name": "Tom Klingenberg",
                    "email": "tkli@php.net"
                },
                {
                    "name": "Christian Schmidt",
                    "email": "chmidt@php.net"
                }
            ],
            "description": "Class for parsing and handling URL. Provides parsing of URLs into their constituent parts (scheme, host, path etc.), URL generation, and resolving of relative URLs.",
            "homepage": "https://github.com/pear/Net_URL2",
            "keywords": [
                "PEAR",
                "net",
                "networking",
                "rfc3986",
                "uri",
                "url"
            ],
            "time": "2014-10-21 18:17:20"
        }
    ],
    "packages-dev": [],
    "aliases": [],
    "minimum-stability": "stable",
    "stability-flags": [],
    "prefer-stable": false,
    "platform": [],
    "platform-dev": []
}