extensions: libxt_TEE: Trim kernel struct to allow deletion

Correct trimming of userspacesize to fix deletions.

Fixes: Bugzilla #884.

The rule having TEE target with '--oif' option cannot be deleted by iptables command.

  $ iptables -I INPUT -i foo -j TEE --gateway x.x.x.x --oif bar
  $ iptables -D INPUT -i foo -j TEE --gateway x.x.x.x --oif bar
  iptables: No chain/target/match by that name.

[Cherry-pick of iptables df3741332d86629a8fdd267930e0a249803f6aa8]

Signed-off-by: Loganaden Velvindron <logan@elandsys.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Change-Id: Ieb43487811669d502074330a0cba7c8d4c9c7446
1 file changed