Message ID | 20180710222417.18144-1-blp@ovn.org |
---|---|
State | Accepted |
Headers | show |
Series | [ovs-dev,branch-2.9] ovn-northd: Don't shadow addr_family in add_router_lb_flow(). | expand |
Bleep bloop. Greetings Ben Pfaff, I am a robot and I have tried out your patch. Thanks for your contribution. I encountered some error that I wasn't expecting. See the details below. checkpatch: ERROR: Too many signoffs; are you missing Co-authored-by lines? Lines checked: 30, Warnings: 0, Errors: 1 Please check this out. If you feel there has been an error, please email aconole@bytheb.org Thanks, 0-day Robot
On Tue, Jul 10, 2018 at 03:24:17PM -0700, Ben Pfaff wrote: > This is a partial backport of commit 396d492cfa8d ("Don't shadow > variables.") to fix a build break due to backporting a different commit > that depended on it. > > CC: Mark Michelson <mmichels@redhat.com> > Fixes: 15fbc3baee5a ("ovn: Add router load balancer undnat rule for IPv6") > Signed-off-by: Ben Pfaff <blp@ovn.org> > --- LGTM, fixed the build issue. Acked-by: Flavio Leitner <fbl@sysclose.org> Thanks Ben!
Thanks, Ben! Acked-by: Mark Michelson <mmichels@redhat.com> On 07/10/2018 06:24 PM, Ben Pfaff wrote: > This is a partial backport of commit 396d492cfa8d ("Don't shadow > variables.") to fix a build break due to backporting a different commit > that depended on it. > > CC: Mark Michelson <mmichels@redhat.com> > Fixes: 15fbc3baee5a ("ovn: Add router load balancer undnat rule for IPv6") > Signed-off-by: Ben Pfaff <blp@ovn.org> > --- > ovn/northd/ovn-northd.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/ovn/northd/ovn-northd.c b/ovn/northd/ovn-northd.c > index 2509b0a57320..334aa6f8c742 100644 > --- a/ovn/northd/ovn-northd.c > +++ b/ovn/northd/ovn-northd.c > @@ -4463,9 +4463,9 @@ add_router_lb_flow(struct hmap *lflows, struct ovn_datapath *od, > while (ip_str && ip_str[0]) { > char *ip_address = NULL; > uint16_t port = 0; > - int addr_family; > + int addr_family_; > ip_address_and_port_from_lb_key(ip_str, &ip_address, &port, > - &addr_family); > + &addr_family_); > if (!ip_address) { > break; > } >
Thanks, applied to branch-2.9. On Wed, Jul 11, 2018 at 08:36:18AM -0400, Mark Michelson wrote: > Thanks, Ben! > > Acked-by: Mark Michelson <mmichels@redhat.com> > > On 07/10/2018 06:24 PM, Ben Pfaff wrote: > >This is a partial backport of commit 396d492cfa8d ("Don't shadow > >variables.") to fix a build break due to backporting a different commit > >that depended on it. > > > >CC: Mark Michelson <mmichels@redhat.com> > >Fixes: 15fbc3baee5a ("ovn: Add router load balancer undnat rule for IPv6") > >Signed-off-by: Ben Pfaff <blp@ovn.org> > >--- > > ovn/northd/ovn-northd.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > >diff --git a/ovn/northd/ovn-northd.c b/ovn/northd/ovn-northd.c > >index 2509b0a57320..334aa6f8c742 100644 > >--- a/ovn/northd/ovn-northd.c > >+++ b/ovn/northd/ovn-northd.c > >@@ -4463,9 +4463,9 @@ add_router_lb_flow(struct hmap *lflows, struct ovn_datapath *od, > > while (ip_str && ip_str[0]) { > > char *ip_address = NULL; > > uint16_t port = 0; > >- int addr_family; > >+ int addr_family_; > > ip_address_and_port_from_lb_key(ip_str, &ip_address, &port, > >- &addr_family); > >+ &addr_family_); > > if (!ip_address) { > > break; > > } > > >
diff --git a/ovn/northd/ovn-northd.c b/ovn/northd/ovn-northd.c index 2509b0a57320..334aa6f8c742 100644 --- a/ovn/northd/ovn-northd.c +++ b/ovn/northd/ovn-northd.c @@ -4463,9 +4463,9 @@ add_router_lb_flow(struct hmap *lflows, struct ovn_datapath *od, while (ip_str && ip_str[0]) { char *ip_address = NULL; uint16_t port = 0; - int addr_family; + int addr_family_; ip_address_and_port_from_lb_key(ip_str, &ip_address, &port, - &addr_family); + &addr_family_); if (!ip_address) { break; }
This is a partial backport of commit 396d492cfa8d ("Don't shadow variables.") to fix a build break due to backporting a different commit that depended on it. CC: Mark Michelson <mmichels@redhat.com> Fixes: 15fbc3baee5a ("ovn: Add router load balancer undnat rule for IPv6") Signed-off-by: Ben Pfaff <blp@ovn.org> --- ovn/northd/ovn-northd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)