[Upstream] iptables: Add missing function item of xtables to match iptables 1.6 81/134781/2
authorSaurav Babu <saurav.babu@samsung.com>
Tue, 20 Jun 2017 04:14:17 +0000 (09:44 +0530)
committerseonah moon <seonah1.moon@samsung.com>
Thu, 6 Jul 2017 05:33:47 +0000 (05:33 +0000)
commita5dc565b80c2abcd6fb909f41611bbcc78a42c18
tree7d104eec715f901f2bf4b05eed1337bfd1b60293
parent2cc28fa0b1818eef6e7d001decfc1aa37c966019
[Upstream] iptables: Add missing function item of xtables to match iptables 1.6

The struct of xtables_globals has been modified in iptables 1.6.
If connman runs with iptables 1.6, it can crash.

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
0xb7dea89c in xtables_find_target () from /usr/lib/libxtables.so.11
0xb7deac1c in ?? () from /usr/lib/libxtables.so.11
0xb7dea793 in xtables_find_target () from /usr/lib/libxtables.so.11

The the missing function item of xtables is added to xtables_globals.

Commit ID: acea08a0e4234a4c1a87bedc087c73ff36de0c7b

Change-Id: I670e100d816636d705d967ba69b3cb72c26d889e
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
src/iptables.c