Commit 4654467
Florian Westphal
netfilter: arptables: allow xtables-nft only builds
Allows to build kernel that supports the arptables mangle target
via nftables' compat infra but without the arptables get/setsockopt
interface or the old arptables filter interpreter.
IOW, setting IP_NF_ARPFILTER=n will break arptables-legacy, but
arptables-nft will continue to work as long as nftables compat
support is enabled.
Signed-off-by: Florian Westphal <fw@strlen.de>
Reviewed-by: Phil Sutter <phil@nwl.cc>1 parent d5f9142 commit 4654467
1 file changed
+13
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
| 312 | + | |
322 | 313 | | |
323 | | - | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
324 | 319 | | |
325 | 320 | | |
326 | | - | |
| 321 | + | |
| 322 | + | |
327 | 323 | | |
328 | 324 | | |
329 | 325 | | |
330 | | - | |
331 | | - | |
| 326 | + | |
| 327 | + | |
332 | 328 | | |
333 | 329 | | |
334 | 330 | | |
335 | 331 | | |
336 | 332 | | |
| 333 | + | |
337 | 334 | | |
338 | 335 | | |
339 | 336 | | |
340 | 337 | | |
341 | | - | |
| 338 | + | |
| 339 | + | |
342 | 340 | | |
343 | 341 | | |
344 | 342 | | |
0 commit comments