[nft PATCH 0/7] Misc fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Patch 1 is the most relevant one as an upcoming kernel fix will trigger
the bug being fixed by it.

Patches 2-5 are related to monitor testsuite, either fixing monitor
output or adjusting the test cases.

Patch 6 adjusts the shell testsuite for use with recent kernels (having
name-based interface hooks).

Patch 7 is an accidental discovery, probably I missed to add a needed
.json.output file when implementing new tests.

Phil Sutter (7):
  netlink: Fix for potential crash parsing a flowtable
  netlink: Do not allocate a bogus flowtable priority expr
  monitor: Correctly print flowtable updates
  json: Dump flowtable hook spec only if present
  tests: monitor: Fix for single flag array avoidance
  tests: shell: Adjust to ifname-based hooks
  tests: py: Properly fix JSON equivalents for netdev/reject.t

 src/json.c                                    | 22 +++--
 src/monitor.c                                 | 14 ++--
 src/netlink.c                                 |  8 +-
 tests/monitor/testcases/flowtable-simple.t    |  2 +-
 tests/monitor/testcases/map-expr.t            |  2 +-
 tests/monitor/testcases/set-concat-interval.t |  2 +-
 tests/monitor/testcases/set-interval.t        |  2 +-
 tests/monitor/testcases/set-maps.t            |  2 +-
 tests/monitor/testcases/set-mixed.t           |  2 +-
 tests/monitor/testcases/set-multiple.t        |  4 +-
 tests/monitor/testcases/set-simple.t          |  2 +-
 tests/py/netdev/reject.t.json                 | 66 ++++++++++-----
 tests/py/netdev/reject.t.json.output          | 81 +++++++++++++++++++
 tests/shell/features/ifname_based_hooks.sh    | 12 +++
 .../chains/netdev_chain_dormant_autoremove    |  3 +
 .../flowtable/0012flowtable_variable_0        |  9 ++-
 tests/shell/testcases/listing/0020flowtable_0 |  8 +-
 tests/shell/testcases/transactions/0050rule_1 | 19 -----
 .../transactions/dumps/0050rule_1.json-nft    | 11 ---
 .../transactions/dumps/0050rule_1.nft         |  0
 20 files changed, 193 insertions(+), 78 deletions(-)
 create mode 100644 tests/py/netdev/reject.t.json.output
 create mode 100755 tests/shell/features/ifname_based_hooks.sh
 delete mode 100755 tests/shell/testcases/transactions/0050rule_1
 delete mode 100644 tests/shell/testcases/transactions/dumps/0050rule_1.json-nft
 delete mode 100644 tests/shell/testcases/transactions/dumps/0050rule_1.nft

-- 
2.49.0





[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux