Only run iptables when necessary.

Only run iptables for tests where we test inbound packet marking
(i.e., mark reflect and TCP mark accept). This makes running all
the tests ~6 seconds faster, and makes it free to add new test
cases if they don't use inbound marking.

Change-Id: Iaed82ce37e1edbaac6fa58fbea30fc84186d899b
1 file changed
tree: 86796556b7151971e2c215879d203b22a996e483
  1. net/