Commit efe4160
ipvs: convert to use pernet nf_hook api
nf_(un)register_hooks has to maintain an internal hook list to add/remove
those hooks from net namespaces as they are added/deleted.
ipvs already uses pernet_ops, so we can switch to the (more recent)
pernet hook api instead.
Compile tested only.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>1 parent 1fefe14 commit efe4160
1 file changed
+9
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2200 | 2200 | | |
2201 | 2201 | | |
2202 | 2202 | | |
| 2203 | + | |
2203 | 2204 | | |
2204 | 2205 | | |
2205 | 2206 | | |
| |||
2231 | 2232 | | |
2232 | 2233 | | |
2233 | 2234 | | |
| 2235 | + | |
| 2236 | + | |
| 2237 | + | |
| 2238 | + | |
2234 | 2239 | | |
2235 | 2240 | | |
2236 | 2241 | | |
2237 | 2242 | | |
2238 | 2243 | | |
| 2244 | + | |
| 2245 | + | |
2239 | 2246 | | |
2240 | 2247 | | |
2241 | 2248 | | |
| |||
2255 | 2262 | | |
2256 | 2263 | | |
2257 | 2264 | | |
| 2265 | + | |
2258 | 2266 | | |
2259 | 2267 | | |
2260 | 2268 | | |
| |||
2315 | 2323 | | |
2316 | 2324 | | |
2317 | 2325 | | |
2318 | | - | |
2319 | | - | |
2320 | | - | |
2321 | | - | |
2322 | | - | |
2323 | | - | |
2324 | 2326 | | |
2325 | 2327 | | |
2326 | 2328 | | |
2327 | | - | |
| 2329 | + | |
2328 | 2330 | | |
2329 | 2331 | | |
2330 | 2332 | | |
2331 | 2333 | | |
2332 | 2334 | | |
2333 | 2335 | | |
2334 | | - | |
2335 | | - | |
2336 | 2336 | | |
2337 | 2337 | | |
2338 | 2338 | | |
| |||
2349 | 2349 | | |
2350 | 2350 | | |
2351 | 2351 | | |
2352 | | - | |
2353 | 2352 | | |
2354 | 2353 | | |
2355 | 2354 | | |
| |||
0 commit comments