Commit 880ccec
netfilter: nf_tables: Use stored ifname in netdev hook dumps
The stored ifname and ops.dev->name may deviate after creation due to
interface name changes. Prefer the more deterministic stored name in
dumps which also helps avoiding inadvertent changes to stored ruleset
dumps.
Signed-off-by: Phil Sutter <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>1 parent b7c2d79 commit 880ccec
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1956 | 1956 | | |
1957 | 1957 | | |
1958 | 1958 | | |
1959 | | - | |
1960 | | - | |
| 1959 | + | |
| 1960 | + | |
1961 | 1961 | | |
1962 | 1962 | | |
1963 | 1963 | | |
1964 | 1964 | | |
1965 | 1965 | | |
1966 | 1966 | | |
1967 | | - | |
| 1967 | + | |
| 1968 | + | |
1968 | 1969 | | |
1969 | 1970 | | |
1970 | 1971 | | |
| |||
9324 | 9325 | | |
9325 | 9326 | | |
9326 | 9327 | | |
9327 | | - | |
| 9328 | + | |
| 9329 | + | |
9328 | 9330 | | |
9329 | 9331 | | |
9330 | 9332 | | |
| |||
0 commit comments