LVS
lvs-devel
Google
 
Web LinuxVirtualServer.org

Re: [PATCH nf] netfilter: ipvs: flag ct as needing s/dnat in original di

To: Florian Westphal <fw@xxxxxxxxx>
Subject: Re: [PATCH nf] netfilter: ipvs: flag ct as needing s/dnat in original direction
Cc: netfilter-devel@xxxxxxxxxxxxxxx, lvs-devel@xxxxxxxxxxxxxxx
From: Julian Anastasov <ja@xxxxxx>
Date: Sun, 25 Feb 2018 22:34:18 +0200 (EET)
        Hello,

On Sun, 25 Feb 2018, Florian Westphal wrote:

> Julian Anastasov <ja@xxxxxx> wrote:
> >             ct = nf_ct_get(skb, &ctinfo);
> > -           if (ct && (ct->status & IPS_NAT_MASK)) {
> > +           if (ct) {
> >                     bool mangled;
> >  
> >                     /* If mangling fails this function will return 0
> > 
> >     If it looks ok to you and if you prefer you can submit it
> > as patch, otherwise I'll do it in the following days...
> 
> Looks good to me, its better to get rid of additional condition.
> Feel free to submit this patch officially thank you!

        Done, thanks!

Regards

--
Julian Anastasov <ja@xxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

<Prev in Thread] Current Thread [Next in Thread>