Re: [PATCH v2] xt_connmark: Fix invalid tginfo* casting.

2018-04-19 Thread Pablo Neira Ayuso
On Mon, Apr 16, 2018 at 01:21:04PM +1200, Jack Ma wrote:
> This bug was found during testing pre-existing iptables options
> with newly added v2 APIs.
> 
> Casting from (const struct xt_connmark_tginfo2 *) to
> (const struct xt_connmark_tginfo1 *) results in the significance
> to be lost. Subsequentially, the 'info->mode' is reset to zero,
> when multiple options are parsed in.

Sent you a different patch to sort out this. Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH v2] xt_connmark: Fix invalid tginfo* casting.

2018-04-15 Thread Jack Ma
Sorry, please ignore v1 patch.
version two is the clean patch to be applied.. 

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html