Commit 005e528
Paolo Abeni
Merge tag 'nf-24-03-28' of git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf
Pablo Neira Ayuso says:
====================
Netfilter fixes for net
The following patchset contains Netfilter fixes for net:
Patch #1 reject destroy chain command to delete device hooks in netdev
family, hence, only delchain commands are allowed.
Patch #2 reject table flag update interference with netdev basechain
hook updates, this can leave hooks in inconsistent
registration/unregistration state.
Patch #3 do not unregister netdev basechain hooks if table is dormant.
Otherwise, splat with double unregistration is possible.
Patch #4 fixes Kconfig to allow to restore IP_NF_ARPTABLES,
from Kuniyuki Iwashima.
There are a more fixes still in progress on my side that need more work.
* tag 'nf-24-03-28' of git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf:
netfilter: arptables: Select NETFILTER_FAMILY_ARP when building arp_tables.c
netfilter: nf_tables: skip netdev hook unregistration if table is dormant
netfilter: nf_tables: reject table flag and netdev basechain updates
netfilter: nf_tables: reject destroy command to remove basechain hooks
====================
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>2 files changed
+43
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
| 332 | + | |
332 | 333 | | |
333 | 334 | | |
334 | 335 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1200 | 1200 | | |
1201 | 1201 | | |
1202 | 1202 | | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
1203 | 1222 | | |
1204 | 1223 | | |
1205 | 1224 | | |
| |||
1226 | 1245 | | |
1227 | 1246 | | |
1228 | 1247 | | |
1229 | | - | |
| 1248 | + | |
1230 | 1249 | | |
1231 | 1250 | | |
1232 | 1251 | | |
| |||
2631 | 2650 | | |
2632 | 2651 | | |
2633 | 2652 | | |
| 2653 | + | |
| 2654 | + | |
| 2655 | + | |
| 2656 | + | |
| 2657 | + | |
| 2658 | + | |
| 2659 | + | |
2634 | 2660 | | |
2635 | 2661 | | |
2636 | 2662 | | |
| |||
2860 | 2886 | | |
2861 | 2887 | | |
2862 | 2888 | | |
| 2889 | + | |
| 2890 | + | |
| 2891 | + | |
2863 | 2892 | | |
2864 | 2893 | | |
2865 | 2894 | | |
| |||
2944 | 2973 | | |
2945 | 2974 | | |
2946 | 2975 | | |
2947 | | - | |
| 2976 | + | |
| 2977 | + | |
2948 | 2978 | | |
2949 | 2979 | | |
2950 | 2980 | | |
| |||
10182 | 10212 | | |
10183 | 10213 | | |
10184 | 10214 | | |
10185 | | - | |
10186 | | - | |
10187 | | - | |
| 10215 | + | |
| 10216 | + | |
| 10217 | + | |
| 10218 | + | |
| 10219 | + | |
10188 | 10220 | | |
10189 | 10221 | | |
10190 | 10222 | | |
| |||
10460 | 10492 | | |
10461 | 10493 | | |
10462 | 10494 | | |
10463 | | - | |
10464 | | - | |
10465 | | - | |
| 10495 | + | |
| 10496 | + | |
| 10497 | + | |
| 10498 | + | |
| 10499 | + | |
10466 | 10500 | | |
10467 | 10501 | | |
10468 | 10502 | | |
| |||
0 commit comments