commit | 8eee75a8358c542d881d2a84e2c47cc0a9fa92ef | [log] [tgz] |
---|---|---|
author | Phil Sutter <phil@nwl.cc> | Fri Jun 10 13:42:01 2016 +0200 |
committer | Stephen Hemminger <shemming@brocade.com> | Tue Jun 14 14:35:56 2016 -0700 |
tree | 5fe6e13f5ce6284a0c826c229c7bedb743905630 | |
parent | 445745221a21ecb4111c19cfa7f4c2cf4796337f [diff] |
tc: m_xt: Fix segfault when adding multiple actions at once Without this, the following call to tc would segfault: | tc filter add dev d0 parent ffff: u32 match u32 0 0 \ | action xt -j MARK --set-mark 0x1 \ | action xt -j MARK --set-mark 0x1 The reason is basically the same as for 6e2e5ec28bad4 ("fix print_ipt: segfault if more then one filter with action -j MARK.") but in parse_ipt() instead of print_ipt(). Signed-off-by: Phil Sutter <phil@nwl.cc>