On 12/5/2017 4:01 PM, Greg Rose wrote:
Linux 4.14 requires this parameter to be constified.

Signed-off-by: Greg Rose <gvrose8...@gmail.com>
---
  datapath/conntrack.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/datapath/conntrack.c b/datapath/conntrack.c
index d517a87..4b181ad 100644
--- a/datapath/conntrack.c
+++ b/datapath/conntrack.c
@@ -614,7 +614,7 @@ ovs_ct_find_existing(struct net *net, const struct 
nf_conntrack_zone *zone,
                     u8 l3num, struct sk_buff *skb, bool natted)
  {
        struct nf_conntrack_l3proto *l3proto;
-       struct nf_conntrack_l4proto *l4proto;
+       const struct nf_conntrack_l4proto *l4proto;
        struct nf_conntrack_tuple tuple;
        struct nf_conntrack_tuple_hash *h;
        struct nf_conn *ct;

This is actually addressed in a separate patch from upstream that I will be backporting as part of the effort to keep our out of tree datapath synched with the upstream.  I'll send a V2 of the patch series with the correct fixup and
pointers to the upstream commit, etc.

- Greg
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to