Message ID | 20180723204049.13465-1-aconole@redhat.com |
---|---|
State | Accepted |
Headers | show |
Series | [ovs-dev] netlink-conntrack: undef the correct macro | expand |
On Mon, Jul 23, 2018 at 1:40 PM, Aaron Conole <aconole@redhat.com> wrote: > Fixes: 6830a0c0e6bf ("netlink-conntrack: New module.") > Cc: Daniele Di Proietto <daniele.di.proietto@gmail.com> > Signed-off-by: Aaron Conole <aconole@redhat.com> > --- > lib/netlink-conntrack.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/netlink-conntrack.c b/lib/netlink-conntrack.c > index e5a5fc118..42be1d9ce 100644 > --- a/lib/netlink-conntrack.c > +++ b/lib/netlink-conntrack.c > @@ -660,7 +660,7 @@ ip_ct_tcp_flags_to_dpif(uint8_t flags) > #define CT_DPIF_TCP_FLAG(FLAG) \ > ret |= (flags & IP_CT_TCP_FLAG_##FLAG) ? CT_DPIF_TCPF_##FLAG : 0; > CT_DPIF_TCP_FLAGS > -#undef CT_DPIF_STATUS_FLAG > +#undef CT_DPIF_TCP_FLAG > return ret; > #endif > } > -- Thanks for the fix. Acked-by: Yi-Hung Wei <yihung.wei@gmail.com>
On Mon, Jul 23, 2018 at 04:40:49PM -0400, Aaron Conole wrote: > Fixes: 6830a0c0e6bf ("netlink-conntrack: New module.") > Cc: Daniele Di Proietto <daniele.di.proietto@gmail.com> > Signed-off-by: Aaron Conole <aconole@redhat.com> Thanks, applied to master. I didn't backport because I don't think there's any real harm here.
Ben Pfaff <blp@ovn.org> writes: > On Mon, Jul 23, 2018 at 04:40:49PM -0400, Aaron Conole wrote: >> Fixes: 6830a0c0e6bf ("netlink-conntrack: New module.") >> Cc: Daniele Di Proietto <daniele.di.proietto@gmail.com> >> Signed-off-by: Aaron Conole <aconole@redhat.com> > > Thanks, applied to master. > > I didn't backport because I don't think there's any real harm here. Agreed.
diff --git a/lib/netlink-conntrack.c b/lib/netlink-conntrack.c index e5a5fc118..42be1d9ce 100644 --- a/lib/netlink-conntrack.c +++ b/lib/netlink-conntrack.c @@ -660,7 +660,7 @@ ip_ct_tcp_flags_to_dpif(uint8_t flags) #define CT_DPIF_TCP_FLAG(FLAG) \ ret |= (flags & IP_CT_TCP_FLAG_##FLAG) ? CT_DPIF_TCPF_##FLAG : 0; CT_DPIF_TCP_FLAGS -#undef CT_DPIF_STATUS_FLAG +#undef CT_DPIF_TCP_FLAG return ret; #endif }
Fixes: 6830a0c0e6bf ("netlink-conntrack: New module.") Cc: Daniele Di Proietto <daniele.di.proietto@gmail.com> Signed-off-by: Aaron Conole <aconole@redhat.com> --- lib/netlink-conntrack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)